Skip to content

Commit

Permalink
good code changed like a ghost
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Sep 13, 2021
1 parent 59ba7b8 commit e96e13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features/versioned_branches_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def test_fix_py3x_only_code(s, expected):
' pass',
# here's the case where it causes a SyntaxError
'import sys\n'
'if True\n'
'if True:\n'
' if sys.version_info >= (3, 6):\n'
' pass\n',
# both branches are still relevant in the following cases
Expand Down

0 comments on commit e96e13b

Please sign in to comment.