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 assertRaisesRegex instead of assertRaisesRegexp for Python 3.11 compatibility. #106

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

tirkarthi
Copy link
Contributor

Ref : python/cpython#28268

assertRaisesRegexp was deprecated in Python 3 and removed in Python 3.11 . Use assertRaisesRegexp as assertRaisesRegex in Python 2.7 and in Python 3 versions use the recommended method assertRaisesRegex

@quicklizard99
Copy link
Member

Thanks @tirkarthi

Closes #110.

@quicklizard99 quicklizard99 merged commit 7746982 into NaturalHistoryMuseum:master Oct 19, 2021
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