Ticket #24196: 24196-test.diff
File 24196-test.diff, 557 bytes (added by , 10 years ago) |
---|
-
tests/queries/tests.py
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index 0f86a0f..ca1edab 100644
a b class EmptyQuerySetTests(TestCase): 2118 2118 self.assertQuerysetEqual(q.values(), []) 2119 2119 self.assertQuerysetEqual(q.values_list(), []) 2120 2120 2121 def test_empty_sliced_subquery(self): 2122 self.assertQuerysetEqual( 2123 Number.objects.filter(pk__in=Number.objects.all()[1:1]), 2124 [] 2125 ) 2126 2121 2127 2122 2128 class ValuesQuerysetTests(BaseQuerysetTest): 2123 2129 @classmethod