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

Method test_branch

Lib/test/test_monitoring.py:673–682  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

671 self.check_lines(func, [1,2,3,4,5])
672
673 def test_branch(self):
674 def func():
675 if "true".startswith("t"):
676 line = 2
677 line = 3
678 else:
679 line = 5
680 line = 6
681
682 self.check_lines(func, [1,2,3,6])
683
684 def test_try_except(self):
685

Callers

nothing calls this directly

Calls 1

check_linesMethod · 0.95

Tested by

no test coverage detected