MCPcopy Create free account
hub / github.com/cztomczak/cefpython / _exit

Method _exit

unittests/_test_runner.py:277–283  ·  view source on GitHub ↗

Exit with appropriate exit code.

(self)

Source from the content-addressed store, hash-verified

275 self._exit()
276
277 def _exit(self):
278 # type: () -> None
279 """Exit with appropriate exit code."""
280 if self.errors or self.failures:
281 sys.exit(1)
282 else:
283 sys.exit(0)
284
285if __name__ == "__main__":
286 main()

Callers 3

run_testcaseMethod · 0.95
_print_summaryMethod · 0.95
OnCloseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected