Skip to content

Commit

Permalink
Added skipif to tuple unpacking test
Browse files Browse the repository at this point in the history
  • Loading branch information
memery-rbx committed Dec 18, 2019
1 parent 7250fa8 commit edbf274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ def test_stdin(self, stdin_get_value):
1,
)

@pytest.mark.skipif(
sys.version_info < (3, 5),
reason='This syntax is only valid in Python 3.x',
)
def test_tuple_unpacking(self):
tree = ast.parse('a, *(b, c) = 1, 2, 3')
checker = BuiltinsChecker(tree, '/home/script.py')
Expand Down

0 comments on commit edbf274

Please sign in to comment.