MCPcopy Index your code
hub / github.com/python/cpython / test_user_exception_normal

Method test_user_exception_normal

Lib/test/test_crossinterp.py:826–832  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

824 # exceptions
825
826 def test_user_exception_normal(self):
827 self.assert_roundtrip_equal([
828 defs.MimimalError('error!'),
829 ])
830 self.assert_roundtrip_equal_not_identical([
831 defs.RichError('error!', 42),
832 ])
833
834 def test_builtin_exception(self):
835 msg = 'error!'

Callers

nothing calls this directly

Tested by

no test coverage detected