getsentry / raven-python

Raven is the legacy Python client for Sentry (getsentry.com) — replaced by sentry-python
https://sentry.io
BSD 3-Clause "New" or "Revised" License
1.68k stars 657 forks source link

DeprecationWarning due to invalid sequences in tests` #1359

Open tirkarthi opened 4 years ago

tirkarthi commented 4 years ago

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')]):