summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_datastructures.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-09-02 12:06:32 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-09-02 12:11:02 +0200
commit365c3e8b73eab825a8ecd0cf8046e1a0824ccd45 (patch)
treef22f78037da5fa34250851e1dace72c4b2e77e78 /tests/utils_tests/test_datastructures.py
parent4292097078279226cb725c2921011fb14634b9af (diff)
Replaced "not PY3" by "PY2", new in six 1.4.0.
Diffstat (limited to 'tests/utils_tests/test_datastructures.py')
-rw-r--r--tests/utils_tests/test_datastructures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils_tests/test_datastructures.py b/tests/utils_tests/test_datastructures.py
index 5563a0fc4f..7984837053 100644
--- a/tests/utils_tests/test_datastructures.py
+++ b/tests/utils_tests/test_datastructures.py
@@ -49,7 +49,7 @@ class SortedDictTests(SimpleTestCase):
self.d2[7] = 'lucky number 7'
self.assertEqual(list(six.iterkeys(self.d2)), [1, 9, 0, 7])
- if not six.PY3:
+ if six.PY2:
def test_change_keys(self):
"""
Changing the keys won't do anything, it's only a copy of the