Kaydet (Commit) ae9cbee4 authored tarafından Tim Peters's avatar Tim Peters

Open at least one binary file in binary mode. This allows a few of the

bz2 tests to pass on Windows; most are still failing.
üst 6ee6db81
......@@ -34,7 +34,7 @@ class BZ2FileTest(BaseTest):
os.unlink(self.filename)
def createTempFile(self, crlf=0):
f = open(self.filename, "w")
f = open(self.filename, "wb")
if crlf:
data = self.DATA_CRLF
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment