Package: src:python-molotov
Version: 2.1-6
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
python-molotov's autopkg tests fail with Python 3.12:
[...]
242s Testing with python3.12:
243s ============================= test session starts
==============================
243s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
243s rootdir: /tmp/autopkgtest.7tt7O0/build.svc/src
243s collected 91 items
243s
243s molotov/tests/test_api.py .......
[ 7%]
252s molotov/tests/test_fmwk.py ...F.........s.....
[ 28%]
252s molotov/tests/test_listeners.py ..
[ 30%]
253s molotov/tests/test_quickstart.py ...
[ 34%]
277s molotov/tests/test_run.py ....................s....s.......s.
[ 72%]
277s molotov/tests/test_session.py sssssssssss
[ 84%]
278s molotov/tests/test_sharedconsole.py ..
[ 86%]
278s molotov/tests/test_sharedcounter.py ....
[ 91%]
278s molotov/tests/test_slave.py sss
[ 94%]
278s molotov/tests/test_util.py .....
[100%]
278s
278s =================================== FAILURES
===================================
278s ____________________________ TestFmwk.test_failure
_____________________________
278s
278s self = <molotov.tests.test_fmwk.TestFmwk testMethod=test_failure>
278s loop = <_UnixSelectorEventLoop running=False closed=True debug=True>
278s console = <molotov.sharedconsole.SharedConsole object at
0xffffa1158e60>
278s results = {'WORKER': <SharedCounter 0>, 'REACHED': <SharedCounter
0>, 'RATIO': <SharedCounter 0>, 'OK': <SharedCounter 0>, 'FAIL...ter 1>,
'MAX_WORKERS': <SharedCounter 1>, 'SETUP_FAILED': <SharedCounter 0>,
'SESSION_SETUP_FAILED': <SharedCounter 0>}
278s
278s @async_test
278s async def test_failure(self, loop, console, results):
278s @scenario(weight=100)
278s async def test_failing(session):
278s raise ValueError("XxX")
278s
278s args = self.get_args(console=console)
278s w = self.get_worker(console, results, loop=loop, args=args)
278s await w.run()
278s
278s self.assertTrue(results["OK"] == 0)
278s self.assertTrue(results["FAILED"] > 0)
278s > self.assertEquals(stop_reason()[0].args, ("XxX",))
278s E AttributeError: 'TestFmwk' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
278s
278s molotov/tests/test_fmwk.py:290: AttributeError