diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-06-26 10:18:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 10:18:06 +0300 |
commit | c834c025695f598a0df3aba980257326a088044a (patch) | |
tree | 809a7f263324d9f15983e571d32e54fe6ebb8e0f /Lib/test/test_unittest/test_assertions.py | |
parent | 38612a05b5de33fde82d7960418527b7cfaa2e7c (diff) | |
download | cpython-c834c025695f598a0df3aba980257326a088044a.tar.gz cpython-c834c025695f598a0df3aba980257326a088044a.zip |
Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556)
This reverts commit b50322d20337ca468f2070eedb051a16ee1eba94.
Diffstat (limited to 'Lib/test/test_unittest/test_assertions.py')
-rw-r--r-- | Lib/test/test_unittest/test_assertions.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/test/test_unittest/test_assertions.py b/Lib/test/test_unittest/test_assertions.py index a0db3423b86..6557104b81f 100644 --- a/Lib/test/test_unittest/test_assertions.py +++ b/Lib/test/test_unittest/test_assertions.py @@ -271,15 +271,6 @@ class TestLongMessage(unittest.TestCase): r"\+ \{'key': 'value'\}$", r"\+ \{'key': 'value'\} : oops$"]) - def testAssertDictContainsSubset(self): - with warnings.catch_warnings(): - warnings.simplefilter("ignore", DeprecationWarning) - - self.assertMessages('assertDictContainsSubset', ({'key': 'value'}, {}), - ["^Missing: 'key'$", "^oops$", - "^Missing: 'key'$", - "^Missing: 'key' : oops$"]) - def testAssertMultiLineEqual(self): self.assertMessages('assertMultiLineEqual', ("", "foo"), [r"\+ foo$", "^oops$", |