summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-03-20 18:09:14 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-03-20 18:09:14 (GMT)
commitabd91d5f2c841b75eb8a32b92acee2ae823a4ac6 (patch)
tree585e130dc3138478c4852a0ebc8cc58df0c4ed4e /Lib/test
parent91c9da34bc155139618d3c837d9bc7cef1ac4a17 (diff)
downloadcpython-abd91d5f2c841b75eb8a32b92acee2ae823a4ac6.zip
cpython-abd91d5f2c841b75eb8a32b92acee2ae823a4ac6.tar.gz
cpython-abd91d5f2c841b75eb8a32b92acee2ae823a4ac6.tar.bz2
Issue 7832. Document changes to unittest.TestCase.assertSameElements and assertItemsEqual
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py
index 4fca2ed..fc84214 100644
--- a/Lib/test/test_cgi.py
+++ b/Lib/test/test_cgi.py
@@ -131,7 +131,7 @@ class CgiTests(unittest.TestCase):
if isinstance(expect, dict):
# test dict interface
self.assertEqual(len(expect), len(fs))
- self.assertEqual(norm(expect.keys()), norm(fs.keys()))
+ self.assertItemsEqual(expect.keys(), fs.keys())
##self.assertEqual(norm(expect.values()), norm(fs.values()))
##self.assertEqual(norm(expect.items()), norm(fs.items()))
self.assertEqual(fs.getvalue("nonexistent field", "default"), "default")