]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix the tests on Windows, by writing the test data file in binary
authorGuido van Rossum <guido@python.org>
Fri, 25 Apr 2003 15:01:05 +0000 (15:01 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 25 Apr 2003 15:01:05 +0000 (15:01 +0000)
commit51735b0569e4bff3f9a2988f0273cd5f1e3ec471
treee549f8f2d16f8488071de3e54dcde92f23eb4cf4
parent6eb502f2675943806d410d813b8f6c84e10759b3
Fix the tests on Windows, by writing the test data file in binary
mode.

XXX I'm not convinced that this is the right solution -- arguably,
on Windows, the _fileobject class should honor the mode argument
and do newline translation.  But it's never done that so I think
there's no urgent need to fix this today.
Lib/test/test_urllib.py