mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Replaced "not PY3" by "PY2", new in six 1.4.0.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user