From eacda3be3c89c4a4dbb7bfded80a71e9bd770023 Mon Sep 17 00:00:00 2001 From: Steven Myint Date: Fri, 10 Jan 2014 15:35:22 -0800 Subject: [PATCH] Check for 2.6 correctly --- test/test_autopep8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_autopep8.py b/test/test_autopep8.py index 9ad78056..36ba593c 100755 --- a/test/test_autopep8.py +++ b/test/test_autopep8.py @@ -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 = """\