(self, exception_type, regex, error_strings)
| 31 | |
| 32 | class TestCase(unittest.TestCase): |
| 33 | def assertAllRaise(self, exception_type, regex, error_strings): |
| 34 | for str in error_strings: |
| 35 | with self.subTest(str=str): |
| 36 | with self.assertRaisesRegex(exception_type, regex): |
| 37 | eval(str) |
| 38 | |
| 39 | def test__format__lookup(self): |
| 40 | # Make sure __format__ is looked up on the type, not the instance. |
no test coverage detected