Package: src:python-graphviz
Version: 0.20.1-2
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

python-graphviz's autopkg test failures with Python 3.12:

[...]
424s =================================== FAILURES =================================== 424s __________________________ test_deprecated_escape[G] ___________________________
424s
424s recwarn = WarningsRecorder(record=True), char = 'G'
424s
424s     @pytest.mark.parametrize(
424s         'char', ['G', 'E', 'T', 'H', 'L', 'l'])
424s     def test_deprecated_escape(recwarn, char):
424s         warnings.simplefilter('always')
424s
424s         escape = eval(rf'"\{char}"')
424s
424s         assert len(recwarn) == 1
424s >       w = recwarn.pop(DeprecationWarning)
424s E AssertionError: <class 'DeprecationWarning'> not found in warning list
424s
424s test_quoting.py:17: AssertionError
424s __________________________ test_deprecated_escape[E] ___________________________
424s
424s recwarn = WarningsRecorder(record=True), char = 'E'
424s
424s     @pytest.mark.parametrize(
424s         'char', ['G', 'E', 'T', 'H', 'L', 'l'])
424s     def test_deprecated_escape(recwarn, char):
424s         warnings.simplefilter('always')
424s
424s         escape = eval(rf'"\{char}"')
424s
424s         assert len(recwarn) == 1
424s >       w = recwarn.pop(DeprecationWarning)
424s E AssertionError: <class 'DeprecationWarning'> not found in warning list
424s
424s test_quoting.py:17: AssertionError
424s __________________________ test_deprecated_escape[T] ___________________________
424s
424s recwarn = WarningsRecorder(record=True), char = 'T'
424s
424s     @pytest.mark.parametrize(
424s         'char', ['G', 'E', 'T', 'H', 'L', 'l'])
424s     def test_deprecated_escape(recwarn, char):
424s         warnings.simplefilter('always')
424s
424s         escape = eval(rf'"\{char}"')
424s
424s         assert len(recwarn) == 1
424s >       w = recwarn.pop(DeprecationWarning)
424s E AssertionError: <class 'DeprecationWarning'> not found in warning list
424s
424s test_quoting.py:17: AssertionError
424s __________________________ test_deprecated_escape[H] ___________________________
424s
424s recwarn = WarningsRecorder(record=True), char = 'H'
424s
424s     @pytest.mark.parametrize(
424s         'char', ['G', 'E', 'T', 'H', 'L', 'l'])
424s     def test_deprecated_escape(recwarn, char):
424s         warnings.simplefilter('always')
424s
424s         escape = eval(rf'"\{char}"')
424s
424s         assert len(recwarn) == 1
424s >       w = recwarn.pop(DeprecationWarning)
424s E AssertionError: <class 'DeprecationWarning'> not found in warning list
424s
424s test_quoting.py:17: AssertionError
424s __________________________ test_deprecated_escape[L] ___________________________
424s
424s recwarn = WarningsRecorder(record=True), char = 'L'
424s
424s     @pytest.mark.parametrize(
424s         'char', ['G', 'E', 'T', 'H', 'L', 'l'])
424s     def test_deprecated_escape(recwarn, char):
424s         warnings.simplefilter('always')
424s
424s         escape = eval(rf'"\{char}"')
424s
424s         assert len(recwarn) == 1
424s >       w = recwarn.pop(DeprecationWarning)
424s E AssertionError: <class 'DeprecationWarning'> not found in warning list
424s
424s test_quoting.py:17: AssertionError
424s __________________________ test_deprecated_escape[l] ___________________________
424s
424s recwarn = WarningsRecorder(record=True), char = 'l'
424s
424s     @pytest.mark.parametrize(
424s         'char', ['G', 'E', 'T', 'H', 'L', 'l'])
424s     def test_deprecated_escape(recwarn, char):
424s         warnings.simplefilter('always')
424s
424s         escape = eval(rf'"\{char}"')
424s
424s         assert len(recwarn) == 1
424s >       w = recwarn.pop(DeprecationWarning)
424s E AssertionError: <class 'DeprecationWarning'> not found in warning list
424s
424s test_quoting.py:17: AssertionError

Reply via email to