Lines Matching refs:RuntimeError
61 raise RuntimeError("Context is not reentrant")
166 raise RuntimeError("Enter threw")
175 self.assertRaises(RuntimeError, shouldThrow)
183 raise RuntimeError(42)
187 self.assertRaises(RuntimeError, shouldThrow)
192 self.TEST_EXCEPTION = RuntimeError("test exception")
363 self.assertRaises(RuntimeError, shouldThrow)
388 self.assertRaises(RuntimeError, shouldThrow)
406 self.assertRaises(RuntimeError, shouldThrow)
424 self.assertRaises(RuntimeError, shouldThrow)
445 self.assertRaises(RuntimeError, shouldThrow)
599 raise RuntimeError
601 except RuntimeError:
692 def __init__(self): raise RuntimeError()
695 def __enter__(self): raise RuntimeError()
700 def __exit__(self, *exc_info): raise RuntimeError()
722 except RuntimeError: