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

Avoid invalid escape sequences in regular expressions #37

Merged
merged 1 commit into from
Sep 11, 2018
Merged

Avoid invalid escape sequences in regular expressions #37

merged 1 commit into from
Sep 11, 2018

Conversation

pocek
Copy link
Contributor

@pocek pocek commented Sep 11, 2018

Using raw strings fixes these warnings:

DeprecationWarning: invalid escape sequence \d
DeprecationWarning: invalid escape sequence \-

Include _VALUE_RE too for consistency.

Using raw strings fixes these warnings:

 DeprecationWarning: invalid escape sequence \d
 DeprecationWarning: invalid escape sequence \-

Include _VALUE_RE too for consistency.
@vmagamedov vmagamedov merged commit 2044d80 into vmagamedov:master Sep 11, 2018
@vmagamedov
Copy link
Owner

Oh, thanks!

@vmagamedov
Copy link
Owner

vmagamedov commented Sep 11, 2018

New pytest version and Python 3.7 exposed lots of deprecation warnings in tests

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