Skip to content

DeprecationWarning: Please use assertRaisesRegex instead. #4

Open
@mtelka

Description

@mtelka
pydiffx/tests/test_reader.py: 10 warnings
pydiffx/tests/test_utils_unified_diffs.py: 7 warnings
pydiffx/tests/test_dom_objects.py: 22 warnings
pydiffx/tests/test_writer.py: 27 warnings
pydiffx/tests/test_utils_text.py: 2 warnings
  $(@D)/pydiffx/tests/testcases.py:68: DeprecationWarning: Please use assertRaisesRegex instead.
    with self.assertRaisesRegexp(exception, re.escape(message)):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

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