summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/test_assertions.py
diff options
context:
space:
mode:
authorMichael Foord <michael@python.org>2011-03-17 00:34:53 (GMT)
committerMichael Foord <michael@python.org>2011-03-17 00:34:53 (GMT)
commit4c9e91a092f55a669b83255ce18bad0c7daa0b31 (patch)
tree0c66cd3df186449f57d1e2802f2d1e85f1ac0bad /Lib/unittest/test/test_assertions.py
parent2ab5994dbe8934564f1ac0b3be1e6d98235e6773 (diff)
downloadcpython-4c9e91a092f55a669b83255ce18bad0c7daa0b31.zip
cpython-4c9e91a092f55a669b83255ce18bad0c7daa0b31.tar.gz
cpython-4c9e91a092f55a669b83255ce18bad0c7daa0b31.tar.bz2
Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual
Diffstat (limited to 'Lib/unittest/test/test_assertions.py')
-rw-r--r--Lib/unittest/test/test_assertions.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/unittest/test/test_assertions.py b/Lib/unittest/test/test_assertions.py
index e85ca91..e1ba614 100644
--- a/Lib/unittest/test/test_assertions.py
+++ b/Lib/unittest/test/test_assertions.py
@@ -228,12 +228,6 @@ class TestLongMessage(unittest.TestCase):
"^Missing: 'key'$",
"^Missing: 'key' : oops$"])
- def testAssertItemsEqual(self):
- self.assertMessages('assertItemsEqual', ([], [None]),
- [r"\[None\]$", "^oops$",
- r"\[None\]$",
- r"\[None\] : oops$"])
-
def testAssertMultiLineEqual(self):
self.assertMessages('assertMultiLineEqual', ("", "foo"),
[r"\+ foo$", "^oops$",