summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cgi.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-11-29 02:02:10 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-11-29 02:02:10 (GMT)
commit263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09 (patch)
tree1fa7e0a7327a502ba0ba4d3c8acbbc185554709d /Lib/test/test_cgi.py
parent40b8cf528fdc7896c3677342f6050b4d80377ee4 (diff)
downloadcpython-263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09.zip
cpython-263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09.tar.gz
cpython-263cbdfdfb0a7fe13f04c1b3188968d7a39d7d09.tar.bz2
Use assertCountEqual instead of assertItemsEqual
Diffstat (limited to 'Lib/test/test_cgi.py')
-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 a7b9ea3..2dcbfc1 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.assertItemsEqual(expect.keys(), fs.keys())
+ self.assertCountEqual(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")