diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-18 10:56:19 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-18 10:56:19 +0000 |
commit | 0e4301f0110b59eb0cbc0ad3fe00fcdea07465f2 (patch) | |
tree | ed752da45d719585e2c9fad801d27b56596d6715 /Python/pythonrun.c | |
parent | b3a1d9ef37f0f587204963b8d82d84358ce91516 (diff) | |
download | cpython-0e4301f0110b59eb0cbc0ad3fe00fcdea07465f2.tar.gz |
Improve PEP 383 tests (in test_os)
* Use the current filesystem encoding instead of always using utf-8
* Enable the test on Mac OS X
* Use TESTFN_UNENCODABLE and TESTFN_UNICODE instead of arbitrary filenames
* To decode a filename, use strict error handler instead surrogateescape for
mbcs encoding (on Windows)
* Use TESTFN_UNENCODABLE (if available) for the directory name
Skip the test if no non-ascii filename can be created.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions