[Python-checkins] cpython (3.5): Issue25506: Fixed a copy-pasting error in test_pprint.

serhiy.storchaka python-checkins at python.org
Thu Oct 29 03:54:10 EDT 2015


https://hg.python.org/cpython/rev/0e0f3f5195f8
changeset:   98887:0e0f3f5195f8
branch:      3.5
parent:      98884:d104a663e794
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Oct 29 09:52:20 2015 +0200
summary:
  Issue25506: Fixed a copy-pasting error in test_pprint.
Patch by John Mark Vandenberg.

files:
  Lib/test/test_pprint.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_pprint.py b/Lib/test/test_pprint.py
--- a/Lib/test/test_pprint.py
+++ b/Lib/test/test_pprint.py
@@ -961,7 +961,7 @@
  '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()

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list