summaryrefslogtreecommitdiff
path: root/tests/expressions
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expressions')
-rw-r--r--tests/expressions/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index 82d8a9f351..eb1bfdc2be 100644
--- a/tests/expressions/tests.py
+++ b/tests/expressions/tests.py
@@ -833,6 +833,10 @@ class BasicExpressionsTests(TestCase):
Q() & Exists(is_poc),
Exists(is_poc) | Q(),
Q() | Exists(is_poc),
+ Q(Exists(is_poc)) & Q(),
+ Q() & Q(Exists(is_poc)),
+ Q(Exists(is_poc)) | Q(),
+ Q() | Q(Exists(is_poc)),
]
for conditions in tests:
with self.subTest(conditions):