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
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ class SimpleTestCase(unittest.TestCase):
""" """
Assert that a response indicates that some content was retrieved Assert that a response indicates that some content was retrieved
successfully, (i.e., the HTTP status code was as expected) and that 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( text_repr, real_count, msg_prefix = self._assert_contains(
response, text, status_code, msg_prefix, html) response, text, status_code, msg_prefix, html)