MCPcopy Create free account
hub / github.com/RustPython/RustPython / _createClassOrModuleLevelException

Method _createClassOrModuleLevelException

Lib/unittest/suite.py:232–235  ·  view source on GitHub ↗
(self, result, exc, method_name,
                                           parent, info=None)

Source from the content-addressed store, hash-verified

230 _call_if_exists(result, '_restoreStdout')
231
232 def _createClassOrModuleLevelException(self, result, exc, method_name,
233 parent, info=None):
234 errorName = f'{method_name} ({parent})'
235 self._addClassOrModuleLevelException(result, exc, errorName, info)
236
237 def _addClassOrModuleLevelException(self, result, exception, errorName,
238 info=None):

Callers 4

_handleClassSetUpMethod · 0.95
_handleModuleFixtureMethod · 0.95
_handleModuleTearDownMethod · 0.95

Calls 1

Tested by

no test coverage detected