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

Deprecation warning due to invalid escape sequences #9

Open
tirkarthi opened this issue Apr 27, 2020 · 0 comments
Open

Deprecation warning due to invalid escape sequences #9

tirkarthi opened this issue Apr 27, 2020 · 0 comments

Comments

@tirkarthi
Copy link

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this.

find . -iname '*.py' | grep -Ev 'rdf4|tool|doc' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./tests/test_basic.py:62: DeprecationWarning: invalid escape sequence \$
  self.assertRegexpMatches(test, "alice:\$apr1\$")
./tests/test_basic.py:139: DeprecationWarning: invalid escape sequence \$
  self.assertRegexpMatches(test, "john:\$1\$")
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

No branches or pull requests

1 participant