Skip to content

Deprecated unittest aliases were removed in Python 3.11 #19

@tirkarthi

Description

@tirkarthi

python/cpython#28268

assert_raises_regexp=_t.assertRaisesRegexp,

assert_regexp_matches=_t.assertRegexpMatches,

Since the library is Python 3.5 + the recommended aliases can be used

assertRaisesRegexp -> assertRaisesRegex
assertRegexpMatches -> assertRegex

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