From 7d68fa4ed309a4bc13d3c8cd4b407b8915c34be8 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Thu, 4 Mar 2021 14:54:06 -0500 Subject: [PATCH] Fixed typo assertNotContains() docstring. --- django/test/testcases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/test/testcases.py b/django/test/testcases.py index 690fb83d1c..006e922fee 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -476,7 +476,7 @@ class SimpleTestCase(unittest.TestCase): """ Assert that a response indicates that some content was retrieved successfully, (i.e., the HTTP status code was as expected) and that - ``text`` doesn't occurs in the content of the response. + ``text`` doesn't occur in the content of the response. """ text_repr, real_count, msg_prefix = self._assert_contains( response, text, status_code, msg_prefix, html)