Skip to content

Commit

Permalink
Mark test_extract_function_with_posonlyargs() for Python 3.8 and higher
Browse files Browse the repository at this point in the history
This is new syntax from Python 3.8.
  • Loading branch information
lieryan committed Dec 14, 2022
1 parent d3bfca1 commit c1b809c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ropetest/refactor/extracttest.py
Expand Up @@ -222,6 +222,7 @@ def new_func(a_var, another_var):
""")
self.assertEqual(expected, refactored)

@testutils.only_for_versions_higher("3.8")
def test_extract_function_with_posonlyargs(self):
code = dedent("""\
def a_func(a_var, /, b):
Expand Down

0 comments on commit c1b809c

Please sign in to comment.