mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
@@ -388,16 +388,4 @@ Django customized version of six
|
||||
--------------------------------
|
||||
|
||||
The version of six bundled with Django (``django.utils.six``) includes a few
|
||||
extras.
|
||||
|
||||
.. function:: assertRaisesRegex(testcase, *args, **kwargs)
|
||||
|
||||
This replaces ``testcase.assertRaisesRegexp`` on Python 2, and
|
||||
``testcase.assertRaisesRegex`` on Python 3. ``assertRaisesRegexp`` still
|
||||
exists in current Python 3 versions, but issues a warning.
|
||||
|
||||
.. function:: assertRegex(testcase, *args, **kwargs)
|
||||
|
||||
This replaces ``testcase.assertRegexpMatches`` on Python 2, and
|
||||
``testcase.assertRegex`` on Python 3. ``assertRegexpMatches`` still
|
||||
exists in current Python 3 versions, but issues a warning.
|
||||
customizations for internal use only.
|
||||
|
||||
Reference in New Issue
Block a user