Message118870
In #10114, I changed parser filename encoding from utf-8/strict to the filesystem encoding/surrogateescape. With C locale, the filesystem encoding is ASCII and test_doctest fails because it uses an unencoable filename (foo-bär@baz.py).
A solution is to write a test specific to non-ascii filenames and skip it if the filename is not encodable (try if os.fsencode() raises an UnicodeEncodeError or not), and use only ascii filenames in the other tests. |
|
Date |
User |
Action |
Args |
2010-10-16 14:15:54 | vstinner | set | recipients:
+ vstinner |
2010-10-16 14:15:54 | vstinner | set | messageid: <1287238554.77.0.835644404703.issue10123@psf.upfronthosting.co.za> |
2010-10-16 14:15:53 | vstinner | link | issue10123 messages |
2010-10-16 14:15:52 | vstinner | create | |
|