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

Method display_result

Lib/test/libregrtest/main.py:369–379  ·  view source on GitHub ↗
(self, runtests: RunTests)

Source from the content-addressed store, hash-verified

367 return
368
369 def display_result(self, runtests: RunTests) -> None:
370 # If running the test suite for PGO then no one cares about results.
371 if runtests.pgo:
372 return
373
374 state = self.get_state()
375 print()
376 print(f"== Tests result: {state} ==")
377
378 self.results.display_result(runtests.tests,
379 self.quiet, self.print_slowest)
380
381 def run_test(
382 self, test_name: TestName, runtests: RunTests, tracer: trace.Trace | None

Callers 2

rerun_failed_testsMethod · 0.95
_run_testsMethod · 0.95

Calls 2

get_stateMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected