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

Refactor deprecated unittest aliases for Python 3.11 compatibility. #3112

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tirkarthi
Copy link
Contributor

Description

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

Motivation and Context

This adds Python 3.11 support. The changes are as below :

assertEquals ->assertEqual
assertRegexpMatches -> assertRegex
assertNotEquals -> assertNotEqual

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