From: Amaury Forgeot d'Arc Date: Wed, 12 Nov 2008 00:13:45 +0000 (+0000) Subject: Temporarily print some information in test_cmd_line, X-Git-Tag: v3.0rc3~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4b27124d28f8d15599875bac4424458d7879736;p=python Temporarily print some information in test_cmd_line, to understand why the test fails on some platforms. --- diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index fc0e3a728a..1277df3ffe 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),