python-pycryptodomex fails to build with Python 3.11.0a2. ====================================================================== ERROR: test_keystream (Cryptodome.SelfTest.Cipher.test_ARC4.RFC6229_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ARC4.py", line 422, in test_keystream self.assertEquals(ct, expected) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'RFC6229_Tests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_drop256_decrypt (Cryptodome.SelfTest.Cipher.test_ARC4.Drop_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ARC4.py", line 443, in test_drop256_decrypt self.assertEquals(pt_drop, pt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Drop_Tests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_drop256_encrypt (Cryptodome.SelfTest.Cipher.test_ARC4.Drop_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ARC4.py", line 437, in test_drop256_encrypt self.assertEquals(ct_drop, ct) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Drop_Tests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_default_nonce (Cryptodome.SelfTest.Cipher.test_ChaCha20.ChaCha20Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ChaCha20.py", line 61, in test_default_nonce self.assertEquals(len(cipher1.nonce), 8) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ChaCha20Test' object has no attribute 'assertEquals' ====================================================================== ERROR: test_seek (Cryptodome.SelfTest.Cipher.test_ChaCha20.ChaCha20Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ChaCha20.py", line 131, in test_seek self.assertEquals(ct1, ct2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ChaCha20Test' object has no attribute 'assertEquals' ====================================================================== ERROR: test_block_size (Cryptodome.SelfTest.Cipher.test_ChaCha20_Poly1305.ChaCha20Poly1305Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ChaCha20_Poly1305.py", line 111, in test_block_size self.failIf(hasattr(cipher, 'block_size')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ChaCha20Poly1305Tests' object has no attribute 'failIf' ====================================================================== ERROR: test_message_chunks (Cryptodome.SelfTest.Cipher.test_ChaCha20_Poly1305.ChaCha20Poly1305Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ChaCha20_Poly1305.py", line 228, in test_message_chunks self.assertEquals(cipher.digest(), ref_mac) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ChaCha20Poly1305Tests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce (Cryptodome.SelfTest.Cipher.test_ChaCha20_Poly1305.ChaCha20Poly1305Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_ChaCha20_Poly1305.py", line 88, in test_nonce self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ChaCha20Poly1305Tests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_message_chunks (Cryptodome.SelfTest.Cipher.test_OCB.OcbTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_OCB.py", line 222, in test_message_chunks self.assertEquals(cipher.digest(), ref_mac) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OcbTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce (Cryptodome.SelfTest.Cipher.test_OCB.OcbTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_OCB.py", line 72, in test_nonce self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OcbTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test1 (Cryptodome.SelfTest.Cipher.test_OCB.OcbRfc7253Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_OCB.py", line 674, in test1 self.assertEquals(ct, ct2) ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OcbRfc7253Test' object has no attribute 'assertEquals' ====================================================================== ERROR: test2 (Cryptodome.SelfTest.Cipher.test_OCB.OcbRfc7253Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_OCB.py", line 691, in test2 self.assertEquals(ct, ct2) ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OcbRfc7253Test' object has no attribute 'assertEquals' ====================================================================== ERROR: test3 (Cryptodome.SelfTest.Cipher.test_OCB.OcbRfc7253Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_OCB.py", line 728, in test3 self.assertEquals(unhexlify(b(result)), result2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OcbRfc7253Test' object has no attribute 'assertEquals' ====================================================================== ERROR: test_iv (Cryptodome.SelfTest.Cipher.test_CBC.CbcTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CBC.py", line 84, in test_iv self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'CbcTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_iv (Cryptodome.SelfTest.Cipher.test_CFB.CfbTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CBC.py", line 84, in test_iv self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'CfbTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_iv (Cryptodome.SelfTest.Cipher.test_OpenPGP.OpenPGPTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CBC.py", line 84, in test_iv self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OpenPGPTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_iv (Cryptodome.SelfTest.Cipher.test_OFB.OfbTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CBC.py", line 84, in test_iv self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'OfbTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce_attribute (Cryptodome.SelfTest.Cipher.test_CTR.CtrTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CTR.py", line 89, in test_nonce_attribute self.failIf(hasattr(cipher, "nonce")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'CtrTests' object has no attribute 'failIf' ====================================================================== ERROR: test_message_chunks (Cryptodome.SelfTest.Cipher.test_CCM.CcmTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CCM.py", line 279, in test_message_chunks self.assertEquals(cipher.digest(), ref_mac) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'CcmTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce (Cryptodome.SelfTest.Cipher.test_CCM.CcmTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_CCM.py", line 75, in test_nonce self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'CcmTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_message_chunks (Cryptodome.SelfTest.Cipher.test_EAX.EaxTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_EAX.py", line 228, in test_message_chunks self.assertEquals(cipher.digest(), ref_mac) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'EaxTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce (Cryptodome.SelfTest.Cipher.test_EAX.EaxTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_EAX.py", line 85, in test_nonce self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'EaxTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_message_chunks (Cryptodome.SelfTest.Cipher.test_GCM.GcmTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_GCM.py", line 212, in test_message_chunks self.assertEquals(cipher.digest(), ref_mac) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'GcmTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce (Cryptodome.SelfTest.Cipher.test_GCM.GcmTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_GCM.py", line 73, in test_nonce self.assertEquals(ct, cipher.encrypt(self.data_128)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'GcmTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce (Cryptodome.SelfTest.Cipher.test_SIV.SivTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_SIV.py", line 76, in test_nonce self.assertEquals(ct1 + tag1, ct2 + tag2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SivTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_nonce_attribute (Cryptodome.SelfTest.Cipher.test_SIV.SivTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Cipher/test_SIV.py", line 100, in test_nonce_attribute self.failIf(hasattr(AES.new(self.key_256, AES.MODE_SIV), "nonce")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SivTests' object has no attribute 'failIf' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_CMAC.TestCMAC) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_CMAC.py", line 287, in test_update_after_digest self.assertEquals(h2.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestCMAC' object has no attribute 'assertEquals' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) MD2 #8: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) MD4 #8: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) MD5 #10: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) RIPEMD160 #10: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA1 #4: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA256 #7: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA3_224 #1: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_SHA3_224.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_SHA3_224.py", line 47, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'APITest' object has no attribute 'assertEquals' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA3_256 #1: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_SHA3_256.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_SHA3_256.py", line 47, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'APITest' object has no attribute 'assertEquals' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA3_384 #1: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_SHA3_384.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_SHA3_384.py", line 47, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'APITest' object has no attribute 'assertEquals' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA3_512 #1: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_SHA3_512.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_SHA3_512.py", line 47, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'APITest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_keccak.KeccakTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_keccak.py", line 106, in test_digest self.failUnless(isinstance(digest, type(b("digest")))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'KeccakTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_hex_digest (Cryptodome.SelfTest.Hash.test_keccak.KeccakTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_keccak.py", line 118, in test_hex_digest self.failUnless(isinstance(hexdigest, type("digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'KeccakTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_keccak.KeccakTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_keccak.py", line 131, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'KeccakTest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_SHAKE.SHAKE128Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_SHAKE.py", line 72, in test_digest self.failUnless(isinstance(digest, type(b("digest")))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SHAKE128Test' object has no attribute 'failUnless' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_SHAKE.SHAKE256Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_SHAKE.py", line 72, in test_digest self.failUnless(isinstance(digest, type(b("digest")))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SHAKE256Test' object has no attribute 'failUnless' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_cSHAKE.cSHAKE128Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_cSHAKE.py", line 101, in test_digest self.failUnless(isinstance(digest, type(b("digest")))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'cSHAKE128Test' object has no attribute 'failUnless' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_cSHAKE.cSHAKE256Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_cSHAKE.py", line 101, in test_digest self.failUnless(isinstance(digest, type(b("digest")))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'cSHAKE256Test' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA224 #7: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA384 #6: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA512 #6: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 55, in runTest self.failUnless(hasattr(self.hashmod, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA512/224 #1: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 58, in runTest self.failUnless(hasattr(h, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: runTest (Cryptodome.SelfTest.Hash.common.HashDigestSizeSelfTest) SHA512/256 #1: digest_size ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/common.py", line 58, in runTest self.failUnless(hasattr(h, "digest_size")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'HashDigestSizeSelfTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_default_digest_size (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2bTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 91, in test_default_digest_size self.assertEquals(len(digest), self.max_bytes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2bTest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2bTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 113, in test_digest self.failUnless(isinstance(digest, type(b"digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2bTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_hex_digest (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2bTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 142, in test_hex_digest self.failUnless(isinstance(hexdigest, type("digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2bTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2bTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 126, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2bTest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_default_digest_size (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2sTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 91, in test_default_digest_size self.assertEquals(len(digest), self.max_bytes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2sTest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2sTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 113, in test_digest self.failUnless(isinstance(digest, type(b"digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2sTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_hex_digest (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2sTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 142, in test_hex_digest self.failUnless(isinstance(hexdigest, type("digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2sTest' object has no attribute 'failUnless' ====================================================================== ERROR: test_update_after_digest (Cryptodome.SelfTest.Hash.test_BLAKE2.Blake2sTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_BLAKE2.py", line 126, in test_update_after_digest self.assertEquals(h.digest(), dig1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Blake2sTest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_digest (Cryptodome.SelfTest.Hash.test_Poly1305.Poly1305Test_AES) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_Poly1305.py", line 361, in test_digest self.failUnless(isinstance(digest, type(b"digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Poly1305Test_AES' object has no attribute 'failUnless' ====================================================================== ERROR: test_hex_digest (Cryptodome.SelfTest.Hash.test_Poly1305.Poly1305Test_AES) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Hash/test_Poly1305.py", line 381, in test_hex_digest self.failUnless(isinstance(hexdigest, type("digest"))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Poly1305Test_AES' object has no attribute 'failUnless' ====================================================================== ERROR: test_div_gf2 (Cryptodome.SelfTest.Protocol.test_SecretSharing.GF2_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/Protocol/test_SecretSharing.py", line 76, in test_div_gf2 self.failUnless(deg(y) < deg(7)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'GF2_Tests' object has no attribute 'failUnless' ====================================================================== ERROR: test_construct_4tuple (Cryptodome.SelfTest.PublicKey.test_DSA.DSATest) DSA (default implementation) constructed key (4-tuple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_DSA.py", line 96, in test_construct_4tuple self._test_verification(dsaObj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_DSA.py", line 175, in _test_verification self.failUnless(dsaObj._verify(m_hash, (r, s))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'DSATest' object has no attribute 'failUnless' ====================================================================== ERROR: test_construct_5tuple (Cryptodome.SelfTest.PublicKey.test_DSA.DSATest) DSA (default implementation) constructed key (5-tuple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_DSA.py", line 103, in test_construct_5tuple self._test_verification(dsaObj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_DSA.py", line 175, in _test_verification self.failUnless(dsaObj._verify(m_hash, (r, s))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'DSATest' object has no attribute 'failUnless' ====================================================================== ERROR: test_factoring (Cryptodome.SelfTest.PublicKey.test_RSA.RSATest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_RSA.py", line 195, in test_factoring self.failUnless(rsaObj.p==self.p or rsaObj.p==self.q) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'RSATest' object has no attribute 'failUnless' ====================================================================== ERROR: test_size (Cryptodome.SelfTest.PublicKey.test_RSA.RSATest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_RSA.py", line 224, in test_size self.assertEquals(pub.size_in_bits(), 1024) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'RSATest' object has no attribute 'assertEquals' ====================================================================== ERROR: test_private_key (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P256) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 544, in test_private_key self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P256' object has no attribute 'failUnless' ====================================================================== ERROR: test_public_key (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P256) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 562, in test_public_key self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P256' object has no attribute 'failIf' ====================================================================== ERROR: test_public_key_derived (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P256) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 569, in test_public_key_derived self.failIf(pub_key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P256' object has no attribute 'failIf' ====================================================================== ERROR: test_private_key (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P384) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 606, in test_private_key self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P384' object has no attribute 'failUnless' ====================================================================== ERROR: test_public_key (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P384) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 626, in test_public_key self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P384' object has no attribute 'failIf' ====================================================================== ERROR: test_public_key_derived (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P384) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 633, in test_public_key_derived self.failIf(pub_key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P384' object has no attribute 'failIf' ====================================================================== ERROR: test_private_key (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P521) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 671, in test_private_key self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P521' object has no attribute 'failUnless' ====================================================================== ERROR: test_public_key (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P521) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 691, in test_public_key self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P521' object has no attribute 'failIf' ====================================================================== ERROR: test_public_key_derived (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccKey_P521) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 698, in test_public_key_derived self.failIf(pub_key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccKey_P521' object has no attribute 'failIf' ====================================================================== ERROR: test_construct (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccModule_P256) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 745, in test_construct self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccModule_P256' object has no attribute 'failUnless' ====================================================================== ERROR: test_generate (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccModule_P256) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 733, in test_generate self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccModule_P256' object has no attribute 'failUnless' ====================================================================== ERROR: test_construct (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccModule_P384) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 783, in test_construct self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccModule_P384' object has no attribute 'failUnless' ====================================================================== ERROR: test_generate (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccModule_P384) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 772, in test_generate self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccModule_P384' object has no attribute 'failUnless' ====================================================================== ERROR: test_construct (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccModule_P521) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 820, in test_construct self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccModule_P521' object has no attribute 'failUnless' ====================================================================== ERROR: test_generate (Cryptodome.SelfTest.PublicKey.test_ECC.TestEccModule_P521) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ECC.py", line 809, in test_generate self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TestEccModule_P521' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey1 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 70, in testImportKey1 self.failIf(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failIf' ====================================================================== ERROR: testImportKey10 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 339, in testImportKey10 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey2 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 100, in testImportKey2 self.failIf(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failIf' ====================================================================== ERROR: testImportKey3 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 131, in testImportKey3 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey4 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 162, in testImportKey4 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey5 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 191, in testImportKey5 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey6 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 221, in testImportKey6 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey7 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 242, in testImportKey7 self.failIf(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failIf' ====================================================================== ERROR: testImportKey8 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 275, in testImportKey8 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey9 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 310, in testImportKey9 self.failUnless(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: test_exportKey (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 376, in test_exportKey self.assertEquals(key.exportKey(), key.export_key()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'assertEquals' ====================================================================== ERROR: test_import_key (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyTests) Verify importKey is an alias to import_key ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 367, in test_import_key self.failIf(key_obj.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failIf' ====================================================================== ERROR: test_x509v1 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyFromX509Cert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 455, in test_x509v1 self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyFromX509Cert' object has no attribute 'failIf' ====================================================================== ERROR: test_x509v3 (Cryptodome.SelfTest.PublicKey.test_import_DSA.ImportKeyFromX509Cert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_DSA.py", line 539, in test_x509v3 self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyFromX509Cert' object has no attribute 'failIf' ====================================================================== ERROR: testExportKey10 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 362, in testExportKey10 self.failUnless(tostr(outkey).find('4,ENCRYPTED')!=-1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testExportKey11 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 374, in testExportKey11 self.failUnless(tostr(outkey).find('4,ENCRYPTED')!=-1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testExportKey12 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 386, in testExportKey12 self.failUnless(tostr(outkey).find('4,ENCRYPTED')!=-1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testExportKey13 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 399, in testExportKey13 self.failUnless(tostr(outkey).find('4,ENCRYPTED')==-1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey1 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) Verify import of RSAPrivateKey DER SEQUENCE ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 191, in testImportKey1 self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey10 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) Verify import of unencrypted PrivateKeyInfo DER SEQUENCE, encoded with PEM ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 281, in testImportKey10 self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey2 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) Verify import of SubjectPublicKeyInfo DER SEQUENCE ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 201, in testImportKey2 self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failIf' ====================================================================== ERROR: testImportKey8 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) Verify import of encrypted PrivateKeyInfo DER SEQUENCE ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 261, in testImportKey8 self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: testImportKey9 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) Verify import of unencrypted PrivateKeyInfo DER SEQUENCE ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 271, in testImportKey9 self.failUnless(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failUnless' ====================================================================== ERROR: test_import_key (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyTests) Verify that import_key is an alias to importKey ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 425, in test_import_key self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyTests' object has no attribute 'failIf' ====================================================================== ERROR: test_x509v1 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyFromX509Cert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 474, in test_x509v1 self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyFromX509Cert' object has no attribute 'failIf' ====================================================================== ERROR: test_x509v3 (Cryptodome.SelfTest.PublicKey.test_import_RSA.ImportKeyFromX509Cert) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_import_RSA.py", line 526, in test_x509v3 self.failIf(key.has_private()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ImportKeyFromX509Cert' object has no attribute 'failIf' ====================================================================== ERROR: test_decryption (Cryptodome.SelfTest.PublicKey.test_ElGamal.ElGamalTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycryptodome-3.11.0/build/lib.linux-x86_64-3.11/Cryptodome/SelfTest/PublicKey/test_ElGamal.py", line 112, in test_decryption self.assertEquals(pt, d['pt']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ElGamalTes 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). For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02979159-python-pycryptodomex/ For all our attempts to build python-pycryptodomex with Python 3.11, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-pycryptodomex/ 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.
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/build/2988621/