Bug#973021: python-bitstring's autopkg tests are failing with python3.9
Matthias Klose
doko at debian.org
Tue Oct 27 12:15:42 GMT 2020
Package: src:python-bitstring
Version: 3.1.5-2
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9
======================================================================
ERROR: testDouble (test_bits.InitFromArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.0phu_6mf/downtmp/autopkgtest_tmp/test/test_bits.py", line
420, in testDouble
b = Bits(a)
File "/usr/lib/python3/dist-packages/bitstring.py", line 796, in __new__
x._initialise(auto, length, offset, **kwargs)
File "/usr/lib/python3/dist-packages/bitstring.py", line 805, in _initialise
self._initialise_from_auto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 836, in
_initialise_from_auto
self._setauto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 1282, in _setauto
b = s.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
======================================================================
ERROR: testEmptyArray (test_bits.InitFromArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.0phu_6mf/downtmp/autopkgtest_tmp/test/test_bits.py", line
401, in testEmptyArray
b = Bits(a)
File "/usr/lib/python3/dist-packages/bitstring.py", line 796, in __new__
x._initialise(auto, length, offset, **kwargs)
File "/usr/lib/python3/dist-packages/bitstring.py", line 805, in _initialise
self._initialise_from_auto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 836, in
_initialise_from_auto
self._setauto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 1282, in _setauto
b = s.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
======================================================================
ERROR: testSignedShort (test_bits.InitFromArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.0phu_6mf/downtmp/autopkgtest_tmp/test/test_bits.py", line
414, in testSignedShort
b = Bits(a)
File "/usr/lib/python3/dist-packages/bitstring.py", line 796, in __new__
x._initialise(auto, length, offset, **kwargs)
File "/usr/lib/python3/dist-packages/bitstring.py", line 805, in _initialise
self._initialise_from_auto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 836, in
_initialise_from_auto
self._setauto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 1282, in _setauto
b = s.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
======================================================================
ERROR: testSingleByte (test_bits.InitFromArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.0phu_6mf/downtmp/autopkgtest_tmp/test/test_bits.py", line
406, in testSingleByte
b = Bits(a)
File "/usr/lib/python3/dist-packages/bitstring.py", line 796, in __new__
x._initialise(auto, length, offset, **kwargs)
File "/usr/lib/python3/dist-packages/bitstring.py", line 805, in _initialise
self._initialise_from_auto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 836, in
_initialise_from_auto
self._setauto(auto, length, offset)
File "/usr/lib/python3/dist-packages/bitstring.py", line 1282, in _setauto
b = s.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
----------------------------------------------------------------------
Ran 483 tests in 0.248s
FAILED (errors=4)
More information about the debian-science-maintainers
mailing list