summaryrefslogtreecommitdiff
path: root/tests/queries/test_qs_combinators.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/queries/test_qs_combinators.py')
-rw-r--r--tests/queries/test_qs_combinators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/queries/test_qs_combinators.py b/tests/queries/test_qs_combinators.py
index 000185bbe6..5aa5f6c8d1 100644
--- a/tests/queries/test_qs_combinators.py
+++ b/tests/queries/test_qs_combinators.py
@@ -110,7 +110,7 @@ class QuerySetSetOperationTests(TestCase):
self.assertEqual(len(qs3.union(qs3)), 0)
def test_empty_qs_union_with_ordered_qs(self):
- qs1 = Number.objects.all().order_by("num")
+ qs1 = Number.objects.order_by("num")
qs2 = Number.objects.none().union(qs1).order_by("num")
self.assertEqual(list(qs1), list(qs2))