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

Pytest Warnings #508

Open
dragon-dxw opened this issue Oct 7, 2021 · 0 comments
Open

Pytest Warnings #508

dragon-dxw opened this issue Oct 7, 2021 · 0 comments
Assignees

Comments

@dragon-dxw
Copy link
Collaborator

  /usr/srv/app/modules/publications/tests/test_publication_page.py:32: DeprecationWarning: invalid escape sequence \<
    assert re.search("\<a[^>]+href='#a-title'\>", rv.rendered_content)

modules/publications/tests/test_publication_page.py:33
  /usr/srv/app/modules/publications/tests/test_publication_page.py:33: DeprecationWarning: invalid escape sequence \<
    assert re.search("\<a[^>]+href='#a-title-2'\>", rv.rendered_content)

modules/publications/tests/test_publication_page.py:34
  /usr/srv/app/modules/publications/tests/test_publication_page.py:34: DeprecationWarning: invalid escape sequence \<
    assert re.search("\<a[^>]+href='#a-title-3'\>", rv.rendered_content)

modules/publications/tests/test_publication_page.py:35
  /usr/srv/app/modules/publications/tests/test_publication_page.py:35: DeprecationWarning: invalid escape sequence \<
    assert re.search("\<a[^>]+href='#a-different-title'\>", rv.rendered_content)

modules/ai_lab/tests/test_ai_lab_homepage.py::TestAiLabHomePage::test_page_can_be_created
  /usr/lib/python3.9/site-packages/django/core/cache/__init__.py:44: RemovedInDjango41Warning: MemcachedCache is deprecated in favor of PyMemcacheCache and PyLibMCCache.
    return backend_cls(location, params)

modules/ai_lab/tests/test_ai_lab_homepage.py::TestAiLabHomePage::test_the_homepage_shows_resources
  /usr/lib/python3.9/site-packages/django_assets/glob.py:60: DeprecationWarning: Flags not at the start of the expression '(.*)\\Z(?ms)'
    _cache[pat] = re.compile(res)

modules/ai_lab/tests/test_ai_lab_homepage.py::TestAiLabHomePage::test_the_homepage_shows_resources
  /usr/lib/python3.9/site-packages/django_assets/glob.py:60: DeprecationWarning: Flags not at the start of the expression '(.*)\\.scss\\Z(?ms)'
    _cache[pat] = re.compile(res)
    ```
@dragon-dxw dragon-dxw self-assigned this Oct 7, 2021
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