Thanks to visit codestin.com
Credit goes to github.com

Skip to content

assertNotRegexpMatches -> assertNotRegex? #288

@jvanasco

Description

@jvanasco

Python 3.5 deprecated assertNotRegexpMatches in favor of assertNotRegex ( see https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertNotRegex ).

Looking at the history of releases, it seems like it was omitted from the initial deprecation as a mistake then backported

Right now assertNotRegexpMatches works in both Py2 and Py3, but that is scheduled to change. Any chance six can have a assertNotRegex sooner than later?

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