[Python-Dev] RE: test_unicode_file failing on trunk, Win98SE (original) (raw)
Mark Hammond mhammond at skippinet.com.au
Wed Dec 3 17:22:12 EST 2003
- Previous message: [Python-Dev] test_unicode_file failing on trunk, Win98SE
- Next message: [Python-Dev] RE: test_unicode_file failing on trunk, Win98SE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
C:\Code\python\PCbuild>python ../lib/test/testunicodefile.py testdirectories (main.TestUnicodeFiles) ... ERROR testequivalentfiles (main.TestUnicodeFiles) ... ok testsinglefiles (main.TestUnicodeFiles) ... ERROR
My apologies - I have fixed it (I hope! No Win98 SE here for me to test on)
Note the error was in the test suite semantics only, not the core code.
OSError: [Errno 2] No such file or directory: '@test-?????.dir'
Interestingly, this is yet another bug. The error you should have got is a UnicodeDecodeError. However, the Windows 'mbcs' encoding currently acts as if in errors=replace mode. See 850997. That is really neither here nor there tho - all it does is change the error you get when passing a Unicode filename.
Don't know about 2.3 maint, & can't test that today:
The fix to posixmodule was checked into both head and 2.3-maint, but the test suite changes were only made to head - for exactly this reason . Thus, 2.3 should be fine.
Please let me know if there are still errors.
Thanks,
Mark.
- Previous message: [Python-Dev] test_unicode_file failing on trunk, Win98SE
- Next message: [Python-Dev] RE: test_unicode_file failing on trunk, Win98SE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]