This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_zipfile64 fails
Type: behavior Stage:
Components: Tests Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, donmez
Priority: normal Keywords:

Created on 2008-05-26 05:13 by donmez, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg67365 - (view) Author: Ismail Donmez (donmez) * Date: 2008-05-26 05:13
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
msg75775 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-11-12 01:59
Fixed with r67194.
Note that the test is now always skipped: too big!
History
Date User Action Args
2022-04-11 14:56:34adminsetgithub: 47220
2008-11-12 01:59:34amaury.forgeotdarcsetstatus: open -> closed
resolution: fixed
messages: + msg75775
nosy: + amaury.forgeotdarc
2008-05-26 05:13:23donmezcreate