mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Do not add an obsolete unittest name to Py3.2.
This commit is contained in:
parent
fc889c48ed
commit
40b8cf528f
2 changed files with 0 additions and 10 deletions
|
@ -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*,
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue