summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-11-12 00:13:45 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-11-12 00:13:45 (GMT)
commitf4b27124d28f8d15599875bac4424458d7879736 (patch)
treec735c14a24754474a26db4923900b54323de62f6
parent9a5499b4e54f1d74dfe41772d780511c8ad1120c (diff)
downloadcpython-f4b27124d28f8d15599875bac4424458d7879736.zip
cpython-f4b27124d28f8d15599875bac4424458d7879736.tar.gz
cpython-f4b27124d28f8d15599875bac4424458d7879736.tar.bz2
Temporarily print some information in test_cmd_line,
to understand why the test fails on some platforms.
-rw-r--r--Lib/test/test_cmd_line.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index fc0e3a7..1277df3 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -136,6 +136,8 @@ class CmdLineTest(unittest.TestCase):
0)
# Test handling of non-ascii data
+ if test.support.verbose:
+ print("FileSystemEncoding:", sys.getfilesystemencoding())
command = "assert(ord('\xe9') == 0xe9)"
self.assertEqual(
self.exit_code('-c', command),