Skip to content

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

Open
tirkarthi wants to merge 1 commit intopeterbe:masterfrom
tirkarthi:fix-assert
Open

Use assertEqual instead of assertEquals for Python 3.11 compatibility.#265
tirkarthi wants to merge 1 commit intopeterbe:masterfrom
tirkarthi:fix-assert

Conversation

@tirkarthi
Copy link

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

@browniebroke
Copy link

browniebroke commented Dec 20, 2022

I was surprised to se that it actually still works in Python 3.11... It turns out this removal was reverted and deferred until Python 3.12: python/cpython@b50322d

Would be nice to get it fixed anyway 👍🏻

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.

2 participants