summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pprint.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-10-29 07:52:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-10-29 07:52:20 (GMT)
commit265cee04806c55756e5480bd3405ec4d1d8129f0 (patch)
treeb02231e1c801188ceaedd5e4f10d04c6ec951153 /Lib/test/test_pprint.py
parent15f74f44d8dda1b4684baa605a81f5a4c725036d (diff)
downloadcpython-265cee04806c55756e5480bd3405ec4d1d8129f0.zip
cpython-265cee04806c55756e5480bd3405ec4d1d8129f0.tar.gz
cpython-265cee04806c55756e5480bd3405ec4d1d8129f0.tar.bz2
Issue25506: Fixed a copy-pasting error in test_pprint.
Patch by John Mark Vandenberg.
Diffstat (limited to 'Lib/test/test_pprint.py')
-rw-r--r--Lib/test/test_pprint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pprint.py b/Lib/test/test_pprint.py
index 357c5cf..7ebc298 100644
--- a/Lib/test/test_pprint.py
+++ b/Lib/test/test_pprint.py
@@ -961,7 +961,7 @@ deque([('brown', 2),
'quick': 1,
'the': 0}""")
- def test_user_dict(self):
+ def test_user_list(self):
d = collections.UserList()
self.assertEqual(pprint.pformat(d, width=1), "[]")
words = 'the quick brown fox jumped over a lazy dog'.split()