[Python-checkins] cpython: Fix silly mistake in debugging code

antoine.pitrou python-checkins at python.org
Sat Jun 23 00:53:14 CEST 2012


http://hg.python.org/cpython/rev/7d9795773e5c
changeset:   77596:7d9795773e5c
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sat Jun 23 00:49:44 2012 +0200
summary:
  Fix silly mistake in debugging code

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


diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py
--- a/Lib/test/test_reprlib.py
+++ b/Lib/test/test_reprlib.py
@@ -249,7 +249,7 @@
             self.skipTest("test paths too long (%d characters) for Windows' 260 character limit"
                           % cached_path_len)
         elif os.name == 'nt' and verbose:
-            print("len(cached_path_len) =", len(cached_path_len))
+            print("cached_path_len =", cached_path_len)
 
     def test_module(self):
         self._check_path_limitations(self.pkgname)

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


More information about the Python-checkins mailing list