diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-11-12 00:13:45 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-11-12 00:13:45 (GMT) |
commit | f4b27124d28f8d15599875bac4424458d7879736 (patch) | |
tree | c735c14a24754474a26db4923900b54323de62f6 | |
parent | 9a5499b4e54f1d74dfe41772d780511c8ad1120c (diff) | |
download | cpython-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.py | 2 |
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), |