-
-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
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
added Python 3.12 in the CI #1812
Conversation
=================================== FAILURES =================================== self = <t.unit.asynchronous.test_hub.test_Hub object at 0x7fc18972a150>
t/unit/asynchronous/test_hub.py:196: self =
E AttributeError: 'called_once' is not a valid assertion. Use a spec for the mock if 'called_once' is meant to be an attribute. |
-assert lock.__enter__.called_once()
+lock.__enter__.assert_called_once() should fix it |
thanks Adrian |
@@ -131,4 +133,4 @@ commands = | |||
pydocstyle {toxinidir}/kombu | |||
|
|||
[testenv:mypy] | |||
commands = python -m mypy --config-file setup.cfg | |||
commands = python -m mypy --config-file setup.cfg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may want to configure your editor to automatically end a file with a linebreak ;)
I think the failure should be fixed by 3ad075a |
I think we got another similar change to do =================================== FAILURES =================================== self = <t.unit.asynchronous.test_hub.test_Hub object at 0x7f6aacef6f30>
t/unit/asynchronous/test_hub.py:571: self =
E AttributeError: 'called_once' is not a valid assertion. Use a spec for the mock if 'called_once' is meant to be an attribute. |
No description provided.