mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Temporarily print some information in test_cmd_line,
to understand why the test fails on some platforms.
This commit is contained in:
parent
9a5499b4e5
commit
f4b27124d2
1 changed files with 2 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue