Message238976
Eduardo’s patch causes many tests to fail. Abbreviated test output:
$ ./python -bWall -m test -v test_tarfile
======================================================================
ERROR: test_compare_members (test.test_tarfile.GzipStreamReadTest)
ERROR: test_empty_tarfile (test.test_tarfile.GzipStreamReadTest)
ERROR: test_fileobj_regular_file (test.test_tarfile.GzipStreamReadTest)
ERROR: test_ignore_zeros (test.test_tarfile.GzipStreamReadTest)
ERROR: test_non_existent_tarfile (test.test_tarfile.GzipStreamReadTest)
ERROR: test_null_tarfile (test.test_tarfile.GzipStreamReadTest)
ERROR: test_provoke_stream_error (test.test_tarfile.GzipStreamReadTest)
ERROR: test_read_through (test.test_tarfile.GzipStreamReadTest)
----------------------------------------------------------------------
tarfile.ReadError: invalid compressed data
======================================================================
ERROR: test_stream_padding (test.test_tarfile.GzipStreamWriteTest)
----------------------------------------------------------------------
zlib.error: Error -3 while decompressing data: invalid stored block lengths
======================================================================
FAIL: test_detect_file (test.test_tarfile.GzipDetectReadTest)
FAIL: test_detect_fileobj (test.test_tarfile.GzipDetectReadTest)
AssertionError
----------------------------------------------------------------------
Ran 387 tests in 14.216s
FAILED (failures=2, errors=9, skipped=8)
There is already Issue 5784 open about clarifying the “wbits” parameter, so I think we can close this as a duplicate. |
|
Date |
User |
Action |
Args |
2015-03-23 03:53:50 | martin.panter | set | recipients:
+ martin.panter, lars.gustaebel, nadeem.vawda, docs@python, BreamoreBoy, serhiy.storchaka, edulix |
2015-03-23 03:53:50 | martin.panter | set | messageid: <1427082830.23.0.0499532663777.issue22163@psf.upfronthosting.co.za> |
2015-03-23 03:53:50 | martin.panter | link | issue22163 messages |
2015-03-23 03:53:49 | martin.panter | create | |
|