Lines Matching refs:shouldThrow
167 def shouldThrow(): function
172 self.assertRaises(RuntimeError, shouldThrow)
181 def shouldThrow(): function
184 self.assertRaises(RuntimeError, shouldThrow)
353 def shouldThrow(): function
358 self.assertRaises(RuntimeError, shouldThrow)
364 def shouldThrow(): function
369 self.assertRaises(ZeroDivisionError, shouldThrow)
375 def shouldThrow(): function
383 self.assertRaises(RuntimeError, shouldThrow)
393 def shouldThrow(): function
401 self.assertRaises(RuntimeError, shouldThrow)
412 def shouldThrow(): function
419 self.assertRaises(RuntimeError, shouldThrow)
432 def shouldThrow(): function
440 self.assertRaises(RuntimeError, shouldThrow)
452 def shouldThrow(): function
456 self.assertRaises(StopIteration, shouldThrow)
466 def shouldThrow(): function
470 self.assertRaises(StopIteration, shouldThrow)
479 def shouldThrow(): function
483 self.assertRaises(StopIteration, shouldThrow)
491 def shouldThrow(): function
495 self.assertRaises(GeneratorExit, shouldThrow)
505 def shouldThrow(): function
509 self.assertRaises(GeneratorExit, shouldThrow)