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

Fixing "DeprecationWarning: invalid escape sequence \" warning #1120

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

Conversation

Orenef11
Copy link
Contributor

@Orenef11 Orenef11 commented Jan 26, 2022

@Orenef11 Orenef11 changed the title Fix deprecation warning Fixing "DeprecationWarning: invalid escape sequence \" warning Jan 26, 2022
@absurdfarce
Copy link
Collaborator

Hey @Orenef11, thanks for putting this together!

Based on the docs I'm reading (https://docs.python.org/3/library/unittest.html#deprecated-aliases as an example) it looks like the names assertRaisesRegexp and assertRegexpMatches have been completely deprecated. Given that I'm wondering if we wouldn't be better off to switch to the supported methods going forward rather than trying to make deprecated methods work correctly. What do you think?

datasttax added a commit to datasttax/python-driver that referenced this pull request Jul 28, 2023
datasttax added a commit to datasttax/python-driver that referenced this pull request Jul 28, 2023
@bschoening
Copy link
Contributor

@absurdfarce @Orenef11 I don't see assertRaisesRegexp in the current trunk. Can this PR be closed as obsolete?

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.

3 participants