Skip to content

Refactor deprecated unittest aliases for Python 3.11 compatibility.#3112

Open
tirkarthi wants to merge 2 commits intospotify:masterfrom
tirkarthi:fix-assert
Open

Refactor deprecated unittest aliases for Python 3.11 compatibility.#3112
tirkarthi wants to merge 2 commits intospotify:masterfrom
tirkarthi:fix-assert

Conversation

@tirkarthi
Copy link
Copy Markdown
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

@tirkarthi tirkarthi requested review from a team, Tarrasch and dlstadther as code owners October 14, 2021 11:53
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