summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2021-03-04 14:54:06 -0500
committerGitHub <noreply@github.com>2021-03-04 20:54:06 +0100
commit7d68fa4ed309a4bc13d3c8cd4b407b8915c34be8 (patch)
tree4f8b0fe412e5c5ef94abd4d1a10d1278a3cc5b1f
parentc6b07627fcb5d1c8d2082714ef5adb63bee6cf4c (diff)
Fixed typo assertNotContains() docstring.
-rw-r--r--django/test/testcases.py2
1 files changed, 1 insertions, 1 deletions
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)