[Python-3000-checkins] r67192 - python/branches/py3k/Lib/test/test_cmd_line.py

amaury.forgeotdarc python-3000-checkins at python.org
Wed Nov 12 01:13:46 CET 2008


Author: amaury.forgeotdarc
Date: Wed Nov 12 01:13:45 2008
New Revision: 67192

Log:
Temporarily print some information in test_cmd_line,
to understand why the test fails on some platforms.


Modified:
   python/branches/py3k/Lib/test/test_cmd_line.py

Modified: python/branches/py3k/Lib/test/test_cmd_line.py
==============================================================================
--- python/branches/py3k/Lib/test/test_cmd_line.py	(original)
+++ python/branches/py3k/Lib/test/test_cmd_line.py	Wed Nov 12 01:13:45 2008
@@ -136,6 +136,8 @@
             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),


More information about the Python-3000-checkins mailing list