python-stomper fails to build with Python 3.11.0a2. ====================================================================== ERROR: Test to see that the buffer accumulates text ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 79, in test001_testBufferAccretionText self.failUnless ( self.sb.bufferLen() == expect ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Test to see that the buffer accumulates binary ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 94, in test002_testBufferAccretionBinary self.failUnless ( self.sb.bufferLen() == expect ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put a complete text message into the buffer, read it out again, and ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 107, in test003_oneCompleteTextMessage self.failUnless ( messageIsGood ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put a complete binary message into the buffer, read it out again, and ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 119, in test004_oneCompleteBinaryMessage self.failUnless ( messageIsGood ( msg, BINBODY ) ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put a complete text message into the buffer, read it out again, and ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 130, in test005_emptyBufferText self.failUnless ( msg2 is None ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put a complete binary message into the buffer, read it out again, and ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 143, in test006_emptyBufferBinary self.failUnless ( msg2 is None ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Create a text message and check that the we can't read it out until ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 158, in test007_messageFragmentsText self.failUnless ( m is None ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Create a binary message and check that the we can't read it out until ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 175, in test008_messageFragmentsBinary self.failUnless ( m is None ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Create a confusing message and ensure that the decoder doesn't get ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 193, in test009_confusingMessage self.failUnless ( m [ 'cmd' ] == CMD ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Test that syncBuffer doesn't clobber the buffer if it doesn't ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 211, in test010_syncBufferNoClobber self.failUnless ( self.sb.buffer == "BLAHBLAH" ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put bunk into the buffer and ensure that it gets detected and removed. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 221, in test011_syncBufferClobberEverything self.failUnless ( self.sb.bufferIsEmpty() ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put bunk into the buffer and ensure that it gets detected and removed. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 232, in test012_syncBufferClobberRubbish self.failUnless ( self.sb.buffer == "REMAINDER" ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put bunk into the buffer and ensure that it gets detected and removed. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 244, in test013_syncBufferClobberEverythingTwice self.failUnless ( self.sb.bufferIsEmpty() ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put bunk into the buffer, followed by a real message and ensure that ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 256, in test014_syncBufferGetGoodMessage self.failUnless ( messageIsGood ( m ) ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put bunk into the buffer, followed by a real message NOT ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 268, in test015_syncBufferClobberGoodMessage self.failUnless ( self.sb.bufferIsEmpty() ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: Put bunk into the buffer including an embedded '� ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 284, in test016_syncBufferHandleEmbeddedNulls self.failUnless ( messageIsGood ( m ) ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: test017_testAllCommands (stomper.tests.teststompbuffer.StompBufferTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststompbuffer.py", line 294, in test017_testAllCommands self.failUnless ( messageIsGood ( m, BODY, cmd ) ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'StompBufferTestCase' object has no attribute 'failUnless' ====================================================================== ERROR: testAbort (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 269, in testAbort self.assertEquals(stomper.abort(transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testAck (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 281, in testAck self.assertEquals(stomper.ack(messageid, transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testBegin (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 274, in testBegin self.assertEquals(stomper.begin(transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testBugInFrameUnpack1 (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 256, in testBugInFrameUnpack1 self.assertEquals(result['cmd'], 'MESSAGE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testCommit (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 264, in testCommit self.assertEquals(stomper.commit(transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testConnect (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 307, in testConnect self.assertEquals(stomper.connect(username, password), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testDisconnect (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 311, in testDisconnect self.assertEquals(stomper.disconnect(), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Test the basic state machine. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 112, in testEngine self.assertEquals(returned, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Test the state machines reaction ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 67, in testEngineToServerMessages self.assertEquals(rc, 'ack') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing unpack frame function against MESSAGE ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 228, in testFrameUnpack2 self.assertEquals(result['cmd'], 'MESSAGE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing unpack frame function against CONNECTED ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 241, in testFrameUnpack3 self.assertEquals(result['cmd'], 'CONNECTED') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing pack, unpacking and the Frame class. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 183, in testFramepack1 self.assertEquals(frame2.cmd, 'MESSAGE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing pack, unpacking and the Frame class. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 215, in testFramepack2 self.assertEquals(result, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testSend (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 325, in testSend self.assertEquals(result, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testSubscribe (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 295, in testSubscribe self.assertEquals(stomper.subscribe(dest, ack), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testUnsubscribe (stomper.tests.teststomper_10.Stomper10Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_10.py", line 290, in testUnsubscribe self.assertEquals(stomper.unsubscribe(dest), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper10Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testAbort (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 269, in testAbort self.assertEquals(stomper.abort(transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testAck (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 284, in testAck self.assertEquals(actual, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testBegin (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 274, in testBegin self.assertEquals(stomper.begin(transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testBugInFrameUnpack1 (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 256, in testBugInFrameUnpack1 self.assertEquals(result['cmd'], 'MESSAGE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testCommit (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 264, in testCommit self.assertEquals(stomper.commit(transactionid), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testConnect (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 328, in testConnect self.assertEquals(stomper.connect(username, password, 'localhost'), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testConnectWithHeartbeats (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 334, in testConnectWithHeartbeats self.assertEquals(stomper.connect(username, password, 'localhost', heartbeats=heartbeats), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testDisconnect (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 338, in testDisconnect self.assertEquals(stomper.disconnect(77), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Test the basic state machine. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 116, in testEngine self.assertEquals(returned, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Test the state machines reaction ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 70, in testEngineToServerMessages self.assertEquals(rc, 'ack') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing unpack frame function against MESSAGE ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 227, in testFrameUnpack2 self.assertEquals(result['cmd'], 'MESSAGE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing unpack frame function against CONNECTED ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 241, in testFrameUnpack3 self.assertEquals(result['cmd'], 'CONNECTED') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing pack, unpacking and the Frame class. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 189, in testFramepack1 self.assertEquals(frame2.cmd, 'MESSAGE') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: Testing pack, unpacking and the Frame class. ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 214, in testFramepack2 self.assertEquals(result, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testNack (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 300, in testNack self.assertEquals(actual, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testSend (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 345, in testSend self.assertEquals(result, correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testSubscribe (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 316, in testSubscribe self.assertEquals(stomper.subscribe(dest, 0, ack), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ====================================================================== ERROR: testUnsubscribe (stomper.tests.teststomper_11.Stomper11Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/stomper-0.4.3/lib/stomper/tests/teststomper_11.py", line 311, in testUnsubscribe self.assertEquals(stomper.unsubscribe(subscription), correct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Stomper11Test' object has no attribute 'assertEquals' ---------------------------------------------------------------------- Ran 51 tests in 0.025s FAILED (errors=51) Removed many old deprecated unittest features: TestCase method aliases failUnlessEqual, failIfEqual, failUnless, failIf, failUnlessRaises, failUnlessAlmostEqual, failIfAlmostEqual (deprecated in Python 3.1), assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals, assertRegexpMatches, assertRaisesRegexp (deprecated in Python 3.2), and assertNotRegexpMatches (deprecated in Python 3.5). Undocumented and broken TestCase method assertDictContainsSubset (deprecated in Python 3.2). Undocumented <unittest.TestLoader.loadTestsFromModule> TestLoader.loadTestsFromModule() parameter use_load_tests (deprecated and ignored since Python 3.2). An alias of the TextTestResult class: _TextTestResult (deprecated in Python 3.2). (Contributed by Serhiy Storchaka in bpo-45162.) https://bugs.python.org/issue45162 https://docs.python.org/3.11/whatsnew/3.11.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02985794-python-stomper/ For all our attempts to build python-stomper with Python 3.11, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-stomper/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.11: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/ Let us know here if you have any questions. Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
Removal of unittest aliases was reverted in Python 3.11 and will be part of Python 3.12, so the above failure is not present anymore, thus I am closing this bugzilla. On the other hand, this will be needed next year though so I strongly suggest communicating with the upstream about it.