We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests work Python 3.11 but not on Python 3.12.
============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 rootdir: /build/source collected 84 items tests/test_aiosasl.py .....FFF......F.....FFFF.............F....FF.F.... [ 59%] F....F.... [ 71%] tests/test_channel_binding_methods.py ......... [ 82%] tests/test_stringprep.py .............. [ 98%] tests/test_unicode_version.py . [100%] =================================== FAILURES =================================== _______________ TestSASLStateMachine.test_reject_double_initiate _______________ self = <test_aiosasl.TestSASLStateMachine testMethod=test_reject_double_initiate> def test_reject_double_initiate(self): run_coroutine(self.sm.initiate("foo", b"bar")) > with self.assertRaisesRegexp(RuntimeError, "has already been called"): E AttributeError: 'TestSASLStateMachine' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_aiosasl.py:184: AttributeError _________ TestSASLStateMachine.test_reject_double_initiate_after_error _________ self = <test_aiosasl.TestSASLStateMachine testMethod=test_reject_double_initiate_after_error> def test_reject_double_initiate_after_error(self): opaque_error = object() self.intf.initiate.side_effect = aiosasl.SASLFailure( opaque_error [...] 'assertRaisesRegexp'. D... FAILED tests/test_aiosasl.py::TestSCRAM::test_reject_protocol_violation_2 - AttributeError: 'TestSCRAM' object has no attribute 'assertRaisesRegexp'. D... FAILED tests/test_aiosasl.py::TestSCRAM::test_too_low_iteration_count - AttributeError: 'TestSCRAM' object has no attribute 'assertRaisesRegexp'. D... FAILED tests/test_aiosasl.py::TestSCRAMPLUS::test_incorrect_nonce - AttributeError: 'TestSCRAMPLUS' object has no attribute 'assertRaisesRegexp... FAILED tests/test_aiosasl.py::TestSCRAMPLUS::test_reject_protocol_violation - AttributeError: 'TestSCRAMPLUS' object has no attribute 'assertRaisesRegexp... =================== 14 failed, 70 passed, 1 warning in 0.41s ===================
The text was updated successfully, but these errors were encountered:
python312Packages.aiosasl: fix broken tests on Python 3.12
f1dfd96
horazont/aiosasl#28
cc8b4c4
horazont/aiosasl#28 (cherry picked from commit f1dfd96)
db273b0
No branches or pull requests
Tests work Python 3.11 but not on Python 3.12.
The text was updated successfully, but these errors were encountered: