New submission from Xavier de Gaye:

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.

----------
components: Tests
files: decompress.patch
keywords: patch
messages: 280569
nosy: nadeem.vawda, xdegaye
priority: normal
severity: normal
stage: patch review
status: open
title: test_bz2 fails with BrokenPipeError when bunzip2 is missing
type: behavior
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45440/decompress.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28664>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to