Package: src:python-languagecodes
Version: 1.1.1-2
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

python-languagecodes autopkg tests fail with Python 3.12:

[...]
186s autopkgtest [19:22:07]: test run-tests: [-----------------------
186s ============================= test session starts ============================== 186s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3.12
186s cachedir: .pytest_cache
186s rootdir: /tmp/autopkgtest.vxwjds/autopkgtest_tmp
186s collecting ... collected 3 items
186s
186s tests/test_codes.py::CodesTest::test_alpha2 FAILED [ 33%]
186s
186s =================================== FAILURES =================================== 186s ____________________________ CodesTest.test_alpha2 _____________________________
186s
186s self = <tests.test_codes.CodesTest testMethod=test_alpha2>
186s
186s     def test_alpha2(self):
186s         self.assertIsNone(iso_639_alpha2(""))
186s         self.assertIsNone(iso_639_alpha2("banana"))
186s         self.assertIsNone(iso_639_alpha2("gub"))
186s >       self.assertEquals(iso_639_alpha2("eng"), "en")
186s E AttributeError: 'CodesTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
186s
186s tests/test_codes.py:22: AttributeError

Reply via email to