1
0
mirror of https://github.com/django/django.git synced 2025-01-09 01:46:20 +00:00

Fixed typo assertNotContains() docstring.

This commit is contained in:
Jacob Walls 2021-03-04 14:54:06 -05:00 committed by GitHub
parent c6b07627fc
commit 7d68fa4ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)