Skip to content

Conversation

@hugovk
Copy link
Contributor

@hugovk hugovk commented Jun 4, 2022

I missed this in #319.

  • Python 3.1: assertRaisesRegexp was added (docs)
  • Python 3.2: Renamed to assertRaisesRegex and assertRaisesRegexp deprecated (docs)
  • Python 3.12: assertRaisesRegexp is planned for removal (PR) (originally planned for 3.11 but postponed)

Also:

  • Enable warnings in tests, so there's visibility for these (for example)
  • Fix "DeprecationWarning: Only valid in 1.8.1 and earlier. Use skipTest instead."

@cjwatson cjwatson merged commit df86fcb into testing-cabal:master Jun 6, 2022
@hugovk hugovk deleted the fix-assertRaisesRegexp-deprecation branch June 6, 2022 11:12
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

Successfully merging this pull request may close these issues.

2 participants