Lines Matching refs:MyException
57 # Can we catch a MyException?
58 with pytest.raises(m.MyException) as excinfo:
73 with pytest.raises(m.MyException) as excinfo:
109 raise m.MyException("nested error")
122 with pytest.raises(m.MyException) as excinfo:
129 except m.MyException as e:
135 m.MyException5, pycatch, m.MyException, m.try_catch, m.MyException, throw_myex5)
140 m.try_catch(m.MyException, pycatch, m.MyException5, m.throws4)
145 m.try_catch(m.MyException, pycatch, m.MyException, m.throws5)