summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-01-02 09:41:55 -0600
committerBenjamin Peterson <benjamin@python.org>2015-01-02 09:41:55 -0600
commit1aaace0e8487b54b573a9d2ea6d7ce7712b264bd (patch)
tree1451cf708fb11e9bd232bc91b2171f6d5d17e068
parent0a7fff264df17e3982ae732e48b33d634fc4fa35 (diff)
downloadsix-1aaace0e8487b54b573a9d2ea6d7ce7712b264bd.tar.gz
note that the unittest asertion methods are only available on 2.7 and later
-rw-r--r--documentation/index.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index 3317596..1982070 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -451,12 +451,12 @@ as the first argument. For example::
def test(self):
six.assertCountEqual(self, (1, 2), [2, 1])
+Note these functions are only available on Python 2.7 or later.
.. function:: assertCountEqual()
Alias for :meth:`~py3:unittest.TestCase.assertCountEqual` on Python 3 and
- :meth:`~py2:unittest.TestCase.assertItemsEqual` on Python 2. This method is
- only available on Python 2.7 and later.
+ :meth:`~py2:unittest.TestCase.assertItemsEqual` on Python 2.
.. function:: assertRaisesRegex()