In Python 3, the method unittest.TestCase.assertRaisesRegexp has been renamed to "assertRaisesRegex", and the frameworks spits out deprecation warnings when using the method name from Python 2.