Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee6db8 commit ae9cbeeCopy full SHA for ae9cbee
1 file changed
Lib/test/test_bz2.py
@@ -34,7 +34,7 @@ def tearDown(self):
34
os.unlink(self.filename)
35
36
def createTempFile(self, crlf=0):
37
- f = open(self.filename, "w")
+ f = open(self.filename, "wb")
38
if crlf:
39
data = self.DATA_CRLF
40
else:
0 commit comments