Source: python-voip-utils Version: 0.2.1-1 Severity: serious User: debian...@lists.debian.org Usertags: regression
Hi Maintainer Since the upload of 0.2.1-1, python-voip-utils fails its own autopkgtest [1] on s390x (big-endian). I've copied what I hope is the relevant part of the log below. This regression current prevents python-voip-utils 0.2.1-1 from migrating to testing. Regards Graham [1] https://ci.debian.net/packages/p/python-voip-utils/testing/s390x/ 24s =================================== FAILURES =================================== 24s _________________________________ test_lin2lin _________________________________ 24s 24s def test_lin2lin() -> None: 24s """Test sample width conversions.""" 24s for w in 1, 2, 4: 24s assert pyaudioop.lin2lin(datas[w], w, w) == datas[w] 24s assert pyaudioop.lin2lin(bytearray(datas[w]), w, w) == datas[w] 24s assert pyaudioop.lin2lin(memoryview(datas[w]), w, w) == datas[w] 24s 24s > assert pyaudioop.lin2lin(datas[1], 1, 2) == packs[2]( 24s 0, 0x1200, 0x4500, -0x4500, 0x7F00, -0x8000, -0x100 24s ) 24s E AssertionError: assert bytearray(b'\...\x80\x00\xff') == b'\x00\x00\x1...0\x00\xff\x00' 24s E 24s E At index 2 diff: 0 != 18 24s E 24s E Full diff: 24s E - (b'\x00\x00\x12\x00E\x00\xbb\x00\x7f\x00\x80\x00\xff\x00') 24s E ? ---- 24s E + bytearray(b'\x00\x00\x00\x12\x00E\x00\xbb\x00\x7f\x00\x80\x00\xff') 24s E ? +++++++++ ++++ 24s 24s tests/test_pyaudioop.py:43: AssertionError