diff --git a/django/test/testcases.py b/django/test/testcases.py index 7ae1cbb4ec..2f8acad68c 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -397,7 +397,7 @@ class TransactionTestCase(unittest.TestCase): # Put context(s) into a list to simplify processing. contexts = to_list(response.context) if not contexts: - self.fail(msg_prefix + "Response did not use any contexts to" + self.fail(msg_prefix + "Response did not use any contexts to " "render the response") # Put error(s) into a list to simplify processing.