summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-26 12:45:22 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-26 12:45:22 (GMT)
commit83d21930ab45af7a205a888c897636e2cf053da4 (patch)
treebeb295dfe6863f4bb52092932091bea19f2e4150
parent04f648cb90f0750d007163f1d92da433cdbc9328 (diff)
downloadcpython-83d21930ab45af7a205a888c897636e2cf053da4.zip
cpython-83d21930ab45af7a205a888c897636e2cf053da4.tar.gz
cpython-83d21930ab45af7a205a888c897636e2cf053da4.tar.bz2
Add debug output for failing buildbot
-rw-r--r--Lib/test/test_locale.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index 5155923..413c547 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -401,6 +401,8 @@ class TestMiscellaneous(unittest.TestCase):
# Unsupported locale on this system
self.skipTest('test needs Turkish locale')
loc = locale.getlocale()
+ if verbose:
+ print('got locale %a' % (loc,))
locale.setlocale(locale.LC_CTYPE, loc)
self.assertEqual(loc, locale.getlocale())