Searched refs:SayWhenError (Results 1 – 2 of 2) sorted by relevance
2220 class SayWhenError(ValueError): pass class2224 raise SayWhenError("Somebody said when")2227 raise SayWhenError("Somebody said when")2308 with self.assertRaises(SayWhenError):2311 with self.assertRaises(SayWhenError):2314 with self.assertRaises(SayWhenError):2321 raise SayWhenError2324 with self.assertRaises(SayWhenError):2326 with self.assertRaises(SayWhenError):2361 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):