Removed an obsolete query test that assumes serial pks.

The code from the original fix (922aba3def)
was removed in 419de7b00d.
This commit is contained in:
Tim Graham 2020-10-27 01:31:26 -04:00 committed by GitHub
parent 10f8b82d19
commit 73be11a266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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.