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.

Author xdegaye
Recipients nadeem.vawda, xdegaye
Date 2016-11-11.09:14:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478855671.84.0.916406598974.issue28664@psf.upfronthosting.co.za>
In-reply-to
Content
bunzip2 is missing on Android and the following tests of test_bz2 fail randomly: test_implicit_binary_modes, test_binary_modes and testAppend, with the following backtrace:
    ERROR: testAppend (test.test_bz2.BZ2FileTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
    File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_bz2.py", line 302, in testAppend
    self.assertEqual(self.decompress(f.read()), self.TEXT * 2)
    File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_bz2.py", line 88, in decompress
    pop.stdin.close()
    BrokenPipeError: [Errno 32] Broken pipe

Patch attached.
History
Date User Action Args
2016-11-11 09:14:31xdegayesetrecipients: + xdegaye, nadeem.vawda
2016-11-11 09:14:31xdegayesetmessageid: <1478855671.84.0.916406598974.issue28664@psf.upfronthosting.co.za>
2016-11-11 09:14:31xdegayelinkissue28664 messages
2016-11-11 09:14:31xdegayecreate