Lines Matching refs:RuntimeError
62 raise RuntimeError("Context is not reentrant")
163 raise RuntimeError("Enter threw")
172 self.assertRaises(RuntimeError, shouldThrow)
180 raise RuntimeError(42)
184 self.assertRaises(RuntimeError, shouldThrow)
187 TEST_EXCEPTION = RuntimeError("test exception")
358 self.assertRaises(RuntimeError, shouldThrow)
383 self.assertRaises(RuntimeError, shouldThrow)
401 self.assertRaises(RuntimeError, shouldThrow)
419 self.assertRaises(RuntimeError, shouldThrow)
440 self.assertRaises(RuntimeError, shouldThrow)
591 raise RuntimeError
593 except RuntimeError:
684 def __init__(self): raise RuntimeError()
687 def __enter__(self): raise RuntimeError()
692 def __exit__(self, *exc_info): raise RuntimeError()
714 except RuntimeError: