use  `with six.assertRaisesRegex(self, ...`