Do not add an obsolete unittest name to Py3.2.
authorRaymond Hettinger <python@rcn.com>
Mon, 29 Nov 2010 01:38:25 +0000 (01:38 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 29 Nov 2010 01:38:25 +0000 (01:38 +0000)
Doc/library/unittest.rst
Lib/unittest/case.py

index 2236f72db557d6786bee9b52b3f8e42ab4891395..6bfdd8d2c94d586fccd1be91008bf1a708e4c6a8 100644 (file)
@@ -1144,13 +1144,6 @@ Test cases
 
       .. versionadded:: 3.2
 
-   .. method:: assertItemsEqual(actual, expected, msg=None)
-
-      Outdated name for :meth:`assertCountEqual`, kept for compatibility
-      with Python 2.7.
-
-      .. versionadded:: 3.2
-
    .. method:: assertSameElements(actual, expected, msg=None)
 
       Test that sequence *expected* contains the same elements as *actual*,
index f59c0684ce35613afeb3335740d28b28b5d63c6e..efba6461b6d8e99959c83ebad79da5618fe9bc29 100644 (file)
@@ -1029,9 +1029,6 @@ class TestCase(object):
             standardMsg = '\n'.join(errors)
             self.fail(self._formatMessage(msg, standardMsg))
 
-    # Old name for assertCountEqual()
-    assertItemsEqual = assertCountEqual
-
     def assertMultiLineEqual(self, first, second, msg=None):
         """Assert that two multi-line strings are equal."""
         self.assertIsInstance(first, str, 'First argument is not a string')