Skip to content

Pytest Warnings #508

@dragon-dxw

Description

@dragon-dxw
  /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)
    ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions