diff options
| author | Tim Graham <timograham@gmail.com> | 2020-10-27 01:31:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-27 06:31:26 +0100 |
| commit | 73be11a266f15c3211cdd6194586705fd3f5e4d0 (patch) | |
| tree | b155aee7bf9f10d9b575e8f17a54ea59bca8ed22 | |
| parent | 10f8b82d195caa3745ba37d9424893763f89653e (diff) | |
Removed an obsolete query test that assumes serial pks.
The code from the original fix (922aba3def68e57c405a0e50d353a790af85b00a)
was removed in 419de7b00daabf5e9be064198d370cdbf19b5f2d.
| -rw-r--r-- | tests/queries/tests.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index 5b667186a3..c98a6adeba 100644 --- a/tests/queries/tests.py +++ b/tests/queries/tests.py @@ -849,14 +849,6 @@ class Queries1Tests(TestCase): self.assertQuerysetEqual(Note.objects.none() & Note.objects.all(), []) self.assertQuerysetEqual(Note.objects.all() & Note.objects.none(), []) - def test_ticket9411(self): - # Make sure bump_prefix() (an internal Query method) doesn't (re-)break. It's - # sufficient that this query runs without error. - qs = Tag.objects.values_list('id', flat=True).order_by('id') - qs.query.bump_prefix(qs.query) - first = qs[0] - self.assertEqual(list(qs), list(range(first, first + 5))) - def test_ticket8439(self): # Complex combinations of conjunctions, disjunctions and nullable # relations. |
