MCPcopy Index your code
hub / github.com/RustPython/RustPython / EG

Class EG

Lib/test/test_except_star.py:896–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894 @unittest.expectedFailure # TODO: RUSTPYTHON
895 def test_except_star_EG_subclass(self):
896 class EG(ExceptionGroup):
897 def __new__(cls, message, excs, code):
898 obj = super().__new__(cls, message, excs)
899 obj.code = code
900 return obj
901
902 def derive(self, excs):
903 return EG(self.message, excs, self.code)
904
905 try:
906 try:

Callers 4

deriveMethod · 0.70
excMethod · 0.70
test_max_group_widthMethod · 0.70

Calls

no outgoing calls

Tested by 4

deriveMethod · 0.56
excMethod · 0.56
test_max_group_widthMethod · 0.56