]> granicus.if.org Git - python/commitdiff
Issue25506: Fixed a copy-pasting error in test_pprint.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 29 Oct 2015 07:52:20 +0000 (09:52 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 29 Oct 2015 07:52:20 +0000 (09:52 +0200)
Patch by John Mark Vandenberg.

Lib/test/test_pprint.py

index 357c5cf0a9276b59a56b3d150ed98444d0ef31ee..7ebc298337ad5ccac12505161bd790f1c6ea38a0 100644 (file)
@@ -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()