diff options
author | Raymond Hettinger <python@rcn.com> | 2012-03-15 01:16:18 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2012-03-15 01:16:18 (GMT) |
commit | 13ec112b3a11e5a04fb83808006a712ef4b6657e (patch) | |
tree | b460e07875c26b6a380e98d39b934ea7526bc798 /Doc/library/unittest.rst | |
parent | 3d7c878fe370e59b142bac9bc32c67b4ac9d949e (diff) | |
download | cpython-13ec112b3a11e5a04fb83808006a712ef4b6657e.zip cpython-13ec112b3a11e5a04fb83808006a712ef4b6657e.tar.gz cpython-13ec112b3a11e5a04fb83808006a712ef4b6657e.tar.bz2 |
Issue #13248: Removed docs for two deprecated unittest features. To be conservative, the code is left in for one more release.
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 8938312..bf58cad 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1175,21 +1175,6 @@ Test cases :meth:`.assertNotRegex`. - .. method:: assertDictContainsSubset(subset, dictionary, msg=None) - - Tests whether the key/value pairs in *dictionary* are a superset of - those in *subset*. If not, an error message listing the missing keys - and mismatched values is generated. - - Note, the arguments are in the opposite order of what the method name - dictates. Instead, consider using the set-methods on :ref:`dictionary - views <dict-views>`, for example: ``d.keys() <= e.keys()`` or - ``d.items() <= d.items()``. - - .. versionadded:: 3.1 - .. deprecated:: 3.2 - - .. method:: assertCountEqual(first, second, msg=None) Test that sequence *first* contains the same elements as *second*, @@ -1204,21 +1189,6 @@ Test cases .. versionadded:: 3.2 - .. method:: assertSameElements(first, second, msg=None) - - Test that sequence *first* contains the same elements as *second*, - regardless of their order. When they don't, an error message listing - the differences between the sequences will be generated. - - Duplicate elements are ignored when comparing *first* and *second*. - It is the equivalent of ``assertEqual(set(first), set(second))`` - but it works with sequences of unhashable objects as well. Because - duplicates are ignored, this method has been deprecated in favour of - :meth:`assertCountEqual`. - - .. versionadded:: 3.1 - .. deprecated:: 3.2 - .. _type-specific-methods: |