Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

DeprecationWarning due to invalid sequences in tests` #1359

Open
tirkarthi opened this issue Jan 26, 2020 · 0 comments
Open

DeprecationWarning due to invalid sequences in tests` #1359

tirkarthi opened this issue Jan 26, 2020 · 0 comments

Comments

@tirkarthi
Copy link

This can be fixed with using raw string or escaping them.

./tests/contrib/django/tests.py:729: DeprecationWarning: invalid escape sequence \:
  with Settings(SENTRY_ALLOW_ORIGIN=[re.compile('https?\://(.*\.)?example\.com')]):
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant