Skip to content
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

CI Tests are broken in 3.12 #2890

Open
awgymer opened this issue Mar 20, 2024 · 0 comments
Open

CI Tests are broken in 3.12 #2890

awgymer opened this issue Mar 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@awgymer
Copy link
Contributor

awgymer commented Mar 20, 2024

Description of the bug

CI tests are failing under Python 3.12 with errors like:

 AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?

This is due to changes made to the unittest behaviour (which I couldn't see listed anywhere in the official docs so...)

For a full explanation of the goings on please see: python/cpython#100690

Command used and terminal output

No response

System information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant