diff options
author | Georg Brandl <georg@python.org> | 2011-02-20 11:18:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-02-20 11:18:09 (GMT) |
commit | 2cebdd48657546bc89dd96e85210d3b56b302e8f (patch) | |
tree | 160598cdd73a3152750a1fcb9fe1eb3efbcfa9f6 /Lib/unittest/test/test_assertions.py | |
parent | fa2c61a22279f286e6e3abee0581fe66eb812737 (diff) | |
download | cpython-2cebdd48657546bc89dd96e85210d3b56b302e8f.zip cpython-2cebdd48657546bc89dd96e85210d3b56b302e8f.tar.gz cpython-2cebdd48657546bc89dd96e85210d3b56b302e8f.tar.bz2 |
Remove unittest methods scheduled for removal in 3.3 -- makes the unittest test suite pass again.
Diffstat (limited to 'Lib/unittest/test/test_assertions.py')
-rw-r--r-- | Lib/unittest/test/test_assertions.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/unittest/test/test_assertions.py b/Lib/unittest/test/test_assertions.py index a1d20eb..4a646c3 100644 --- a/Lib/unittest/test/test_assertions.py +++ b/Lib/unittest/test/test_assertions.py @@ -223,15 +223,6 @@ class TestLongMessage(unittest.TestCase): "\+ \{'key': 'value'\}$", "\+ \{'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$", |