parameterized icon indicating copy to clipboard operation
parameterized copied to clipboard

Fix unittest warning

Open adamchainz opened this issue 2 years ago • 0 comments

Fix this warning:

/.../parameterized/test.py:38: DeprecationWarning: Please use assertRaisesRegex instead.
  with self.assertRaisesRegexp(expected_exception, expected_regexp):

The version ending “p” was deprecated in Python 3.2 and will be removed in 3.12: https://docs.python.org/dev/whatsnew/3.12.html#removed .

adamchainz avatar Mar 27 '23 13:03 adamchainz