summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/test_assertions.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-20 11:18:09 (GMT)
committerGeorg Brandl <georg@python.org>2011-02-20 11:18:09 (GMT)
commit2cebdd48657546bc89dd96e85210d3b56b302e8f (patch)
tree160598cdd73a3152750a1fcb9fe1eb3efbcfa9f6 /Lib/unittest/test/test_assertions.py
parentfa2c61a22279f286e6e3abee0581fe66eb812737 (diff)
downloadcpython-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.py9
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$",