From f4b27124d28f8d15599875bac4424458d7879736 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Wed, 12 Nov 2008 00:13:45 +0000 Subject: Temporarily print some information in test_cmd_line, to understand why the test fails on some platforms. --- Lib/test/test_cmd_line.py | 2 ++ 1 file changed, 2 insertions(+) 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), -- cgit v0.12