python 3.3 bz2 decompression testing results

P

Pauli Rikula

I tested http://python.org/ftp/python/3.3.0/python-3.3.0a4.amd64.msi
bz2 module's decompression using the bz2 -files from:
https://www.ee.oulu.fi/research/ouspg/PROTOS_Test-Suite_c10-archive

and found nothing.

I did not use anything like Valgrind though.
Should I try to run these tests again using Linux and Valgrind?

Testscript is at:
http://code.google.com/p/my-never-e.../trunk/tests/python3_3_bz2/test_decompress.py

you might find it interesting.. or not.

The test took about 2 hours and all the exceptions I got from tests
were the like these two (exceptions.txt -file which was made by the
test_decompress.py -testscript):

--------
testcase 0: 00000184e108021bf3b3f860f1c7618c.bz2
file len: 76
local testtime: 2012-06-16 18:44:25
('Traceback (most recent call last):\n',
' File "C:/projektit/bz2_python33_test/test_decompress.py", line 52,
in <module>\n _ = bz2.decompress(fs)\n',
' File "C:\\Python33-0a4\\lib\\bz2.py", line 419, in decompress\n
raise ValueError("Compressed data ended before the "\n',
'ValueError: Compressed data ended before the end-of-stream marker
was reached\n')
--------
testcase 1: 000001d8c11b84d738de284a8ba76226.bz2
file len: 3629
local testtime: 2012-06-16 18:44:25
('Traceback (most recent call last):\n',
' File "C:/projektit/bz2_python33_test/test_decompress.py", line 52,
in <module>\n _ = bz2.decompress(fs)\n',
' File "C:\\Python33-0a4\\lib\\bz2.py", line 417, in decompress\n
results.append(decomp.decompress(data))\n',
'OSError: Invalid data stream\n')
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top