Lines Matching refs:SayWhenError
2220 class SayWhenError(ValueError): pass class
2224 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 SayWhenError
2324 with self.assertRaises(SayWhenError):
2326 with self.assertRaises(SayWhenError):
2361 self.assertRaises(SayWhenError, it.__next__)
2364 self.assertRaises(SayWhenError, it.__next__)
2369 self.assertRaises(SayWhenError, it.__next__)
2375 self.assertRaises(SayWhenError, it.__next__)
2379 self.assertRaises(SayWhenError, it.__next__)
2396 self.assertRaises(SayWhenError, it.__next__)
2401 self.assertRaises(SayWhenError, it.__next__)
2407 with self.assertRaises(SayWhenError):
2418 with self.assertRaises(SayWhenError):
2509 self.assertIs(type(exc), SayWhenError)