summaryrefslogtreecommitdiff
path: root/tests/test_utils/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_utils/tests.py')
-rw-r--r--tests/test_utils/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py
index aea293bcd4..0e0d05e335 100644
--- a/tests/test_utils/tests.py
+++ b/tests/test_utils/tests.py
@@ -462,8 +462,7 @@ class AssertNumQueriesContextManagerTests(TestCase):
def test_failure(self):
msg = (
- '1 != 2 : 1 queries executed, 2 expected\nCaptured queries were:\n'
- '1.'
+ '1 != 2 : 1 queries executed, 2 expected\nCaptured queries were:\n1.'
)
with self.assertRaisesMessage(AssertionError, msg):
with self.assertNumQueries(2):