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

Drop use of deprecated alias assertRaisesRegexp #468

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

maribu
Copy link
Contributor

@maribu maribu commented Jul 5, 2024

assertRaisesRegexp() is an deprecated alias that was removed in python 3.12. This replaces all instances with the new name, assertRaisesRegex().

`assertRaisesRegexp()` is an [deprecated][1] alias that was removed in
python 3.12. This replaces all instances with the new name,
`assertRaisesRegex()`.

[1]: https://docs.python.org/3.11/library/unittest.html#deprecated-aliases
@itziakos
Copy link
Member

itziakos commented Jul 8, 2024

@maribu thanks for the PR

@itziakos itziakos merged commit 46fbff1 into enthought:main Jul 8, 2024
13 checks passed
@maribu maribu deleted the assertRaisesRegexp branch July 8, 2024 14:10
@maribu
Copy link
Contributor Author

maribu commented Jul 8, 2024

U R welcome 😄

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