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 | d91df1a7a961e15b0602cd19155ea9cdf08a9e07 (patch) | |
tree | 5f7d69bc9c2d5568f92cae3fa84ab78677c5478e /Lib/pydoc.py | |
parent | 6c00c1464f03deaafbbd5fdd212514cbf36b9bd4 (diff) | |
download | cpython-git-d91df1a7a961e15b0602cd19155ea9cdf08a9e07.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 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions