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

DeprecationWarning due to invalid sequences in tests` #1359

@tirkarthi

Description

@tirkarthi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions