Lines Matching refs:CustomError
23 class CustomError(Exception): pass class
889 raise CustomError()
890 with self.assertRaises(CustomError):
898 raise CustomError()
899 with self.assertRaises(CustomError):
909 raise CustomError()
935 raise CustomError()
950 with self.assertRaises(CustomError):
959 with self.assertRaises(CustomError):
3859 raise CustomError(f'{b=} {d=}')
3860 with self.assertRaisesRegex(CustomError, 'b=3 d=4'):