Lines Matching refs:shouldThrow
170 def shouldThrow():
175 self.assertRaises(RuntimeError, shouldThrow)
184 def shouldThrow():
187 self.assertRaises(RuntimeError, shouldThrow)
358 def shouldThrow():
363 self.assertRaises(RuntimeError, shouldThrow)
369 def shouldThrow():
374 self.assertRaises(ZeroDivisionError, shouldThrow)
380 def shouldThrow():
388 self.assertRaises(RuntimeError, shouldThrow)
398 def shouldThrow():
406 self.assertRaises(RuntimeError, shouldThrow)
417 def shouldThrow():
424 self.assertRaises(RuntimeError, shouldThrow)
437 def shouldThrow():
445 self.assertRaises(RuntimeError, shouldThrow)
457 def shouldThrow():
462 shouldThrow()
472 def shouldThrow():
477 shouldThrow()
486 def shouldThrow():
491 shouldThrow()
499 def shouldThrow():
503 self.assertRaises(GeneratorExit, shouldThrow)
513 def shouldThrow():
517 self.assertRaises(GeneratorExit, shouldThrow)