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

Fix deprecated aliases for Python 3.11 compatibility. #163

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Fix deprecated aliases for Python 3.11 compatibility. #163

merged 1 commit into from
Oct 5, 2021

Conversation

tirkarthi
Copy link
Contributor

Fixes #162 . The changes are mostly straightforward find and replace.

$ perl -pi -e 's/failIf/assertFalse/g' **/*py
$ perl -pi -e 's/failUnless/assertTrue/g' **/*py

@cjw296
Copy link
Member

cjw296 commented Oct 5, 2021

Wow, perl?! Not sure I can accept this PR ;-)

@cjw296 cjw296 merged commit e54e420 into simplistix:master Oct 5, 2021
@tirkarthi
Copy link
Contributor Author

Thanks Chris :)

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.

Deprecated aliases in unittest were removed in Python 3.11
2 participants