Package: src:python-libais
Version: 0.17+git.20190917.master.e464cf8-3
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

failing tests with Python 3.12:

[...]
======================================================================
ERROR: testMsg1 (test.compatibility.gpsd_test.SingleMessageTestsTest.testMsg1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/compatibility/gpsd_test.py", line 53, in testMsg1
    self.assertDictContainsSubset(expected, mangled)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SingleMessageTestsTest' object has no attribute 'assertDictContainsSubset'

======================================================================
ERROR: testMsg5LargeTypeAndCargo (test.compatibility.gpsd_test.SingleMessageTestsTest.testMsg5LargeTypeAndCargo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/compatibility/gpsd_test.py", line 72, in testMsg5LargeTypeAndCargo
    self.assertDictContainsSubset(expected, mangled)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SingleMessageTestsTest' object has no attribute 'assertDictContainsSubset'

======================================================================
ERROR: testTimestamps (test.compatibility.gpsd_test.SingleMessageTestsTest.testTimestamps)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/compatibility/gpsd_test.py", line 92, in testTimestamps
    self.assertDictContainsSubset(expected, mangled)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SingleMessageTestsTest' object has no attribute 'assertDictContainsSubset'

======================================================================
ERROR: testDecodeUnknownMessage6 (test.test_decode.Ais6Decoders.testDecodeUnknownMessage6)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test_decode.py", line 36, in testDecodeUnknownMessage6
    self.assertRaisesRegexp(ais.DecodeError, '6:669:11',
    ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Ais6Decoders' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

----------------------------------------------------------------------
Ran 87 tests in 0.030s

FAILED (errors=4, skipped=2)
Test failed: <unittest.runner.TextTestResult run=87 errors=4 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=87 errors=4 failures=0> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: python3.12 setup.py test

Reply via email to