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

Method run_bisect

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

Source from the content-addressed store, hash-verified

356 return True
357
358 def run_bisect(self, runtests: RunTests) -> None:
359 tests, _ = self.results.prepare_rerun(clear=False)
360
361 for index, name in enumerate(tests, 1):
362 if len(tests) > 1:
363 progress = f"{index}/{len(tests)}"
364 else:
365 progress = ""
366 if not self._run_bisect(runtests, name, progress):
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.

Callers 1

_run_testsMethod · 0.95

Calls 4

_run_bisectMethod · 0.95
enumerateFunction · 0.85
lenFunction · 0.85
prepare_rerunMethod · 0.80

Tested by

no test coverage detected