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

Use assertEqual instead of assertEquals for Python 3.11 compatibility. #392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tirkarthi
Copy link
Contributor

The deprecated aliases were removed in Python 3.11 in python/cpython#28268

Copy link

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The timeline was adjusted and these have now been removed in 3.12:

The replacement assertEqual has been around since at least Python 3.1:

https://docs.python.org/3.12/library/unittest.html#unittest.TestCase.assertEqual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants