[Python-modules-team] Bug#973032: python-latexcodec's autopkg tests are failing with python3.9

Matthias Klose doko at debian.org
Tue Oct 27 12:38:25 GMT 2020


Package: src:python-latexcodec
Version: 1.0.7-1
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

======================================================================
ERROR: test_install_example.test_install_example_3
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_install_example.py",
line 24, in test_install_example_3
    assert text_latex.decode("latex+latin1") == u"þ"
LookupError: unknown encoding: latex+latin1

======================================================================
ERROR: test_install_example.test_install_example_4
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_install_example.py",
line 37, in test_install_example_4
    codecs.encode(text_unicode, "ulatex+ascii")
LookupError: unknown encoding: ulatex+ascii

======================================================================
ERROR: test_double_quotes_unicode (test_latex_codec.TestDecoder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_latex_codec.py",
line 222, in test_double_quotes_unicode
    self.decode(u"“á”", u"``á''".encode("utf8"), "utf8")
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_latex_codec.py",
line 57, in decode
    decoded, n = codecs.getdecoder(encoding)(text_latex)
  File "/usr/lib/python3.9/codecs.py", line 975, in getdecoder
    return lookup(encoding).decode
LookupError: unknown encoding: latex+utf8



More information about the Python-modules-team mailing list