summaryrefslogtreecommitdiff
path: root/tests/bulk_create/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bulk_create/tests.py')
-rw-r--r--tests/bulk_create/tests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/bulk_create/tests.py b/tests/bulk_create/tests.py
index 7e5ff32380..8040f16dcf 100644
--- a/tests/bulk_create/tests.py
+++ b/tests/bulk_create/tests.py
@@ -429,8 +429,7 @@ class BulkCreateTests(TestCase):
)
def test_update_conflicts_invalid_update_fields(self):
msg = (
- 'bulk_create() can only be used with concrete fields in '
- 'update_fields.'
+ 'bulk_create() can only be used with concrete fields in update_fields.'
)
# Reverse one-to-one relationship.
with self.assertRaisesMessage(ValueError, msg):
@@ -467,8 +466,7 @@ class BulkCreateTests(TestCase):
)
def test_update_conflicts_invalid_unique_fields(self):
msg = (
- 'bulk_create() can only be used with concrete fields in '
- 'unique_fields.'
+ 'bulk_create() can only be used with concrete fields in unique_fields.'
)
# Reverse one-to-one relationship.
with self.assertRaisesMessage(ValueError, msg):