summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_reprlib.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-22 22:07:38 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-22 22:07:38 (GMT)
commit541b7c89ff179a945fb4f5745efc484df646a751 (patch)
treeb93302beae8995c8588586315cca8a08c29a02e8 /Lib/test/test_reprlib.py
parent07c24d13ed3902ed6d85e70602e3f77cca098b16 (diff)
downloadcpython-541b7c89ff179a945fb4f5745efc484df646a751.zip
cpython-541b7c89ff179a945fb4f5745efc484df646a751.tar.gz
cpython-541b7c89ff179a945fb4f5745efc484df646a751.tar.bz2
Add debug output for temporary buildbot failures
Diffstat (limited to 'Lib/test/test_reprlib.py')
-rw-r--r--Lib/test/test_reprlib.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py
index b5cc680..86ea40e 100644
--- a/Lib/test/test_reprlib.py
+++ b/Lib/test/test_reprlib.py
@@ -10,7 +10,7 @@ import shutil
import importlib
import unittest
-from test.support import run_unittest, create_empty_file
+from test.support import run_unittest, create_empty_file, verbose
from reprlib import repr as r # Don't shadow builtin repr
from reprlib import Repr
from reprlib import recursive_repr
@@ -248,6 +248,8 @@ class LongReprTest(unittest.TestCase):
# (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath)
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))
def test_module(self):
self._check_path_limitations(self.pkgname)