[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

Stefan Krah report at bugs.python.org
Fri Nov 2 16:52:09 CET 2012


Stefan Krah added the comment:

One of 13ebaa36d87d, 9f696742dbda or 6903f5214e99 causes test failures in test_pep277:


======================================================================
FAIL: test_failures (test.test_pep277.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_pep277.py", line 120, in test_failures
    self._apply_failure(os.listdir, name)
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_pep277.py", line 105, in _apply_failure
    self.assertEqual(wildcard, '*.*')
AssertionError: '7_\u05d4\u05e9\u05e7\u05e6\u05e5\u05e1' != '*.*'
- 7_\u05d4\u05e9\u05e7\u05e6\u05e5\u05e1
+ *.*

----------
nosy: +skrah
resolution: fixed -> 
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15478>
_______________________________________


More information about the Python-bugs-list mailing list