mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31148 -- Added error messages on update()/delete() operations following union(), intersection(), and difference().
This commit is contained in:
committed by
Mariusz Felisiak
parent
f600e3fad6
commit
eef3ea847e
@@ -272,12 +272,14 @@ class QuerySetSetOperationTests(TestCase):
|
||||
for operation in (
|
||||
'annotate',
|
||||
'defer',
|
||||
'delete',
|
||||
'exclude',
|
||||
'extra',
|
||||
'filter',
|
||||
'only',
|
||||
'prefetch_related',
|
||||
'select_related',
|
||||
'update',
|
||||
):
|
||||
with self.subTest(combinator=combinator, operation=operation):
|
||||
with self.assertRaisesMessage(
|
||||
|
||||
Reference in New Issue
Block a user