summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorJonathan Vanasco <jonathan@2xlp.com>2020-01-08 22:42:39 -0500
committerBenjamin Peterson <benjamin@python.org>2020-01-08 19:42:39 -0800
commit10a2b75b8be7b68eacfa168834d9938b77d2d7e3 (patch)
treeb432f365a335b5d66e90e8af5b2156deb84e00b8 /documentation
parent5cd83db203a9f4bffd401e77a48543669548a94e (diff)
downloadsix-git-10a2b75b8be7b68eacfa168834d9938b77d2d7e3.tar.gz
Add assertNotRegex. (#289)
Fixes #288. Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/index.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index e5e2994..e2e82e3 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -510,6 +510,11 @@ Note these functions are only available on Python 2.7 or later.
Alias for :meth:`~py3:unittest.TestCase.assertRegex` on Python 3 and
:meth:`~py2:unittest.TestCase.assertRegexpMatches` on Python 2.
+.. function:: assertNotRegex()
+
+ Alias for :meth:`~py3:unittest.TestCase.assertNotRegex` on Python 3 and
+ :meth:`~py2:unittest.TestCase.assertNotRegexpMatches` on Python 2.
+
Renamed modules and attributes compatibility
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>