diff options
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py index 2204989823..fb3b06a543 100644 --- a/tests/basic/tests.py +++ b/tests/basic/tests.py @@ -373,7 +373,7 @@ class ModelTest(TestCase): "<Article: Third article>"]) # Slicing works with longs (Python 2 only -- Python 3 doesn't have longs). - if not six.PY3: + if six.PY2: self.assertEqual(Article.objects.all()[long(0)], a) self.assertQuerysetEqual(Article.objects.all()[long(1):long(3)], ["<Article: Second article>", "<Article: Third article>"]) |
