Temporarily print some information in test_cmd_line,

to understand why the test fails on some platforms.
This commit is contained in:
Amaury Forgeot d'Arc 2008-11-12 00:13:45 +00:00
parent 9a5499b4e5
commit f4b27124d2

View file

@ -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),