--- Begin Message ---
Package: src:python-tubes
Version: 0.2.1-3
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
python-tube's autopkg tests fail with Python 3.12:
[...]
296s ======================================================================
296s ERROR: test_linesToBytes
(test.test_framing.LineTests.test_linesToBytes)
296s Writing out lines delimits them, with the delimiter.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 94, in test_linesToBytes
296s self.assertEquals(b"".join(fd.received), b"hello\r\nworld\r\n")
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'LineTests' object has no attribute 'assertEquals'.
Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_rawMode (test.test_framing.LineTests.test_rawMode)
296s You should be able to have some lines, and then some bytes, and then
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 128, in test_rawMode
296s self.assertEquals(b"".join(Switchee.datums), b"abcde\r\nfgh")
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'LineTests' object has no attribute 'assertEquals'.
Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_stringToLines
(test.test_framing.LineTests.test_stringToLines)
296s A line is something delimited by a LF or CRLF.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 81, in test_stringToLines
296s splitALine(b"\n")
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 80, in splitALine
296s self.assertEquals(fd.received, [b"alpha", b"beta"])
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'LineTests' object has no attribute 'assertEquals'.
Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_switchingWithMoreDataToDeliver
(test.test_framing.LineTests.test_switchingWithMoreDataToDeliver)
296s Switching drains should immediately stop delivering data.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 151, in test_switchingWithMoreDataToDeliver
296s self.assertEquals(fd1.received, [b"something"])
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'LineTests' object has no attribute 'assertEquals'.
Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_bytesToNetstrings
(test.test_framing.NetstringTests.test_bytesToNetstrings)
296s L{bytesToNetstrings} works on subsequent inputs as well.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 45, in test_bytesToNetstrings
296s self.assertEquals(
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'NetstringTests' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_netstringToString
(test.test_framing.NetstringTests.test_netstringToString)
296s Length prefix is stripped off.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 62, in test_netstringToString
296s self.assertEquals(fd.received, [b"x", b"yz"])
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'NetstringTests' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_stringToNetstring
(test.test_framing.NetstringTests.test_stringToNetstring)
296s A byte-string is given a length prefix.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 30, in test_stringToNetstring
296s self.assertEquals(
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'NetstringTests' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_prefixIn
(test.test_framing.PackedPrefixTests.test_prefixIn)
296s Parse some prefixed data.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 170, in test_prefixIn
296s self.assertEquals(fd.received, [b"12345678"])
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'PackedPrefixTests' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_prefixOut
(test.test_framing.PackedPrefixTests.test_prefixOut)
296s Emit some prefixes.
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_framing.py",
line 184, in test_prefixOut
296s self.assertEquals(fd.received, [b'\x01a', b'\x02bc', b'\x03def'])
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'PackedPrefixTests' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
296s
296s ======================================================================
296s ERROR: test_specifiedTypeChecking
(test.test_routing.RouterTests.test_specifiedTypeChecking)
296s The C{outputType} argument to L{Router}'s constructor specifies the
296s ----------------------------------------------------------------------
296s Traceback (most recent call last):
296s File
"/tmp/autopkgtest.fbHH6R/autopkgtest_tmp/build/test/test_routing.py",
line 92, in test_specifiedTypeChecking
296s self.assertEquals(None, correctFount.flowTo(router.drain))
296s ^^^^^^^^^^^^^^^^^
296s AttributeError: 'RouterTests' object has no attribute
'assertEquals'. Did you mean: 'assertEqual'?
296s
296s ----------------------------------------------------------------------
296s Ran 137 tests in 0.072s
296s
296s FAILED (errors=10)
--- End Message ---