Home | History | Annotate | Download | only in test

Lines Matching refs:shouldThrow

169         def shouldThrow():

174 self.assertRaises(RuntimeError, shouldThrow)
183 def shouldThrow():
186 self.assertRaises(RuntimeError, shouldThrow)
355 def shouldThrow():
360 self.assertRaises(RuntimeError, shouldThrow)
366 def shouldThrow():
371 self.assertRaises(ZeroDivisionError, shouldThrow)
377 def shouldThrow():
385 self.assertRaises(RuntimeError, shouldThrow)
395 def shouldThrow():
403 self.assertRaises(RuntimeError, shouldThrow)
414 def shouldThrow():
421 self.assertRaises(RuntimeError, shouldThrow)
434 def shouldThrow():
442 self.assertRaises(RuntimeError, shouldThrow)
454 def shouldThrow():
458 self.assertRaises(StopIteration, shouldThrow)
468 def shouldThrow():
472 self.assertRaises(StopIteration, shouldThrow)
481 def shouldThrow():
485 self.assertRaises(StopIteration, shouldThrow)
493 def shouldThrow():
497 self.assertRaises(GeneratorExit, shouldThrow)
507 def shouldThrow():
511 self.assertRaises(GeneratorExit, shouldThrow)