MCPcopy Create free account
hub / github.com/EasyIME/PIME / run

Method run

python/python3/tornado/testing.py:322–331  ·  view source on GitHub ↗
(
        self, result: Optional[unittest.TestResult] = None
    )

Source from the content-addressed store, hash-verified

320 raise_exc_info(failure)
321
322 def run(
323 self, result: Optional[unittest.TestResult] = None
324 ) -> Optional[unittest.TestResult]:
325 ret = super().run(result)
326 # As a last resort, if an exception escaped super.run() and wasn't
327 # re-raised in tearDown, raise it here. This will cause the
328 # unittest run to fail messily, but that's better than silently
329 # ignoring an error.
330 self.__rethrow()
331 return ret
332
333 def stop(self, _arg: Any = None, **kwargs: Any) -> None:
334 """Stops the `.IOLoop`, causing one pending (or future) call to `wait()`

Callers

nothing calls this directly

Calls 1

__rethrowMethod · 0.95

Tested by

no test coverage detected