diff options
| author | Tim Graham <timograham@gmail.com> | 2013-07-13 13:29:11 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-14 13:02:55 -0400 |
| commit | 2456ffa42c33d63b54579eae0f5b9cf2a8cd3714 (patch) | |
| tree | 06a8364994fcb6689f39cdf47b0f0372302ee2c5 /tests/queries | |
| parent | 0d81fd0e5f44432cbd1efb9b0e655116427dee6e (diff) | |
Fixed #20746 -- Removed Python 2.6 specific code/docs
Diffstat (limited to 'tests/queries')
| -rw-r--r-- | tests/queries/tests.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index 6520eb0176..87d54b637e 100644 --- a/tests/queries/tests.py +++ b/tests/queries/tests.py @@ -2148,13 +2148,6 @@ class ConditionalTests(BaseQuerysetTest): t4 = Tag.objects.create(name='t4', parent=t3) t5 = Tag.objects.create(name='t5', parent=t3) - - # In Python 2.6 beta releases, exceptions raised in __len__ are swallowed - # (Python issue 1242657), so these cases return an empty list, rather than - # raising an exception. Not a lot we can do about that, unfortunately, due to - # the way Python handles list() calls internally. Thus, we skip the tests for - # Python 2.6. - @unittest.skipIf(sys.version_info[:2] == (2, 6), "Python version is 2.6") def test_infinite_loop(self): # If you're not careful, it's possible to introduce infinite loops via # default ordering on foreign keys in a cycle. We detect that. |
