Skip to content

Commit

Permalink
Check for 2.6 correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Jan 10, 2014
1 parent 98b636a commit eacda3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -3062,7 +3062,7 @@ def f(self):
with autopep8_context(line, options=['-aa']) as result:
self.assertEqual(fixed, result)

@unittest.skipIf(sys.version_info <= (2, 6),
@unittest.skipIf(sys.version_info < (2, 7),
'Python 2.6 does not support dictionary comprehensions')
def test_e501_experimental_with_complex_reformat(self):
line = """\
Expand Down

0 comments on commit eacda3b

Please sign in to comment.