bufsize = 32768 # seems to only accept powers of two?
with wurlitzer.pipes(bufsize=bufsize) as (stdout, stderr):
doesn't use a bufsize of 32768, as according to fcntl(1): "Attempts to set the pipe capacity below the page size are silently rounded up to the page size."
I'm happy to skip this test on ppc64el, but a better solution might be to change the bufsize setting to 2**18, for example, as this should work on all current architectures and will still exercise the test.
As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002588 the wurlitzer package tests fail on the ppc64el architecture. The reason is this:
Then the
test.py
code:doesn't use a bufsize of 32768, as according to fcntl(1): "Attempts to set the pipe capacity below the page size are silently rounded up to the page size."
I'm happy to skip this test on ppc64el, but a better solution might be to change the
bufsize
setting to2**18
, for example, as this should work on all current architectures and will still exercise the test.