Searched refs:SayWhenError (Results 1 – 2 of 2) sorted by relevance
2324 class SayWhenError(ValueError): pass class2328 raise SayWhenError("Somebody said when")2331 raise SayWhenError("Somebody said when")2412 with self.assertRaises(SayWhenError):2415 with self.assertRaises(SayWhenError):2418 with self.assertRaises(SayWhenError):2425 raise SayWhenError2428 with self.assertRaises(SayWhenError):2430 with self.assertRaises(SayWhenError):2465 self.assertRaises(SayWhenError, it.__next__)[all …]
1180 class SayWhenError(ValueError): pass class1185 raise SayWhenError("Somebody said when")1250 self.assertRaises(SayWhenError, it.next)1256 self.assertRaises(SayWhenError, it.next)1260 self.assertRaises(SayWhenError, it.next)1277 with self.assertRaises(SayWhenError):1288 with self.assertRaises(SayWhenError):