[New-bugs-announce] [issue2971] test_zipfile64 fails

Ismail Donmez report at bugs.python.org
Mon May 26 07:13:25 CEST 2008


New submission from Ismail Donmez <ismail at namtrac.org>:

test_zipfile64
testDeflated (test.test_zipfile64.TestsWithSourceFile) ... ERROR
testStored (test.test_zipfile64.TestsWithSourceFile) ... ERROR

======================================================================
ERROR: testDeflated (test.test_zipfile64.TestsWithSourceFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/test/test_zipfile64.py", line 41,
in setUp
    fp.write(self.data)
  File "/home/cartman/Sources/py3k/Lib/io.py", line 987, in write
    raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream

======================================================================
ERROR: testStored (test.test_zipfile64.TestsWithSourceFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cartman/Sources/py3k/Lib/test/test_zipfile64.py", line 41,
in setUp
    fp.write(self.data)
  File "/home/cartman/Sources/py3k/Lib/io.py", line 987, in write
    raise TypeError("can't write str to binary stream")
TypeError: can't write str to binary stream

----------------------------------------------------------------------
Ran 2 tests in 2.151s

FAILED (errors=2)
test test_zipfile64 failed -- errors occurred; run in verbose mode for
details
'test_zipfile64' left behind file '@test'
1 test failed:
    test_zipfile64

----------
components: Tests
messages: 67365
nosy: cartman
severity: normal
status: open
title: test_zipfile64 fails
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2971>
__________________________________


More information about the New-bugs-announce mailing list