summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-01-02 09:31:42 -0600
committerBenjamin Peterson <benjamin@python.org>2015-01-02 09:31:42 -0600
commit678cfb323729045c73ce405052955c9b0e4edc86 (patch)
tree180141067e6c31491bb3af81e23445dc0b77b38e
parent3acb0acc6d7fc03f53fd8568ececb0db5b56a436 (diff)
downloadsix-678cfb323729045c73ce405052955c9b0e4edc86.tar.gz
note that assertCountEqual is newish
-rw-r--r--documentation/index.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index db47905..3317596 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -440,7 +440,7 @@ string data in all Python versions.
unittest assertions
>>>>>>>>>>>>>>>>>>>
-Contains compatibility shims for unittest assertions that have been renamed.
+Six contains compatibility shims for unittest assertions that have been renamed.
The parameters are the same as their aliases, but you must pass the test method
as the first argument. For example::
@@ -455,7 +455,8 @@ as the first argument. For example::
.. function:: assertCountEqual()
Alias for :meth:`~py3:unittest.TestCase.assertCountEqual` on Python 3 and
- :meth:`~py2:unittest.TestCase.assertItemsEqual` on Python 2.
+ :meth:`~py2:unittest.TestCase.assertItemsEqual` on Python 2. This method is
+ only available on Python 2.7 and later.
.. function:: assertRaisesRegex()