This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年10月16日 14:15 by vstinner, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg118870 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2010年10月16日 14:15 | |
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. |
|||
| msg118900 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2010年10月16日 21:52 | |
Failures occurred on: http://www.python.org/dev/buildbot/builders/AMD64%20Gentoo%20Wide%203.x http://www.python.org/dev/buildbot/builders/sparc%20solaris10%20gcc%203.x test_zipimport_support does also fail, but it is linked to test_doctest failures. |
|||
| msg118901 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2010年10月16日 21:55 | |
Fixed by r85578. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:07 | admin | set | github: 54332 |
| 2010年10月16日 21:55:15 | vstinner | set | status: open -> closed resolution: fixed messages: + msg118901 |
| 2010年10月16日 21:52:13 | vstinner | set | messages: + msg118900 |
| 2010年10月16日 14:15:53 | vstinner | create | |