Home
last modified time | relevance | path

Searched refs:SayWhenError (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
D_test_multiprocessing.py2324 class SayWhenError(ValueError): pass class
2328 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 SayWhenError
2428 with self.assertRaises(SayWhenError):
2430 with self.assertRaises(SayWhenError):
2465 self.assertRaises(SayWhenError, it.__next__)
[all …]
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py1180 class SayWhenError(ValueError): pass class
1185 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):