Kaydet (Commit) d7931095 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Add some debug output in verbose mode

üst f51d8d3a
......@@ -101,6 +101,10 @@ class CmdLineTest(unittest.TestCase):
# Test handling of non-ascii data
if sys.getfilesystemencoding() != 'ascii':
if test.support.verbose:
import locale
print('locale encoding = %s, filesystem encoding = %s'
% (locale.getpreferredencoding(), sys.getfilesystemencoding()))
command = "assert(ord('\xe9') == 0xe9)"
assert_python_ok('-c', command)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment