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

deprecated escape sequence warnings #1920

Closed
coyotemarin opened this issue Dec 26, 2018 · 1 comment · Fixed by #1928
Closed

deprecated escape sequence warnings #1920

coyotemarin opened this issue Dec 26, 2018 · 1 comment · Fixed by #1928
Labels
Milestone

Comments

@coyotemarin
Copy link
Collaborator

Getting warnings like this in Python 3.7 when running unit tests:

/var/folders/85/t03cny1x5xz0b1dmpkj17xtd0q80dk/T/tmp9zvmungf/mrjob/dataproc.py:119: DeprecationWarning: invalid escape sequence \w
  _TRACEBACK_EXCEPTION_RE = re.compile('\w+: .*$')

It looks like in most of these cases, I forgot to use a rawstring (r'').

@coyotemarin coyotemarin added this to the v0.6.7 milestone Dec 26, 2018
@coyotemarin
Copy link
Collaborator Author

This might be a good chance to try running unit tests on Python 3.7 on Travis CI (as well as on 3.8-dev).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant