From 678cfb323729045c73ce405052955c9b0e4edc86 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 2 Jan 2015 09:31:42 -0600 Subject: note that assertCountEqual is newish --- documentation/index.rst | 5 +++-- 1 file 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() -- cgit v1.2.1