1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.6.x] Updated six to 1.9.0.

Backport of 52f0b2b622 from master
This commit is contained in:
Tim Graham
2015-01-02 12:35:41 -05:00
parent e17d98ff02
commit 0114b9df13
4 changed files with 87 additions and 35 deletions

View File

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