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

Method test_linear

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

Source from the content-addressed store, hash-verified

660
661
662 def test_linear(self):
663
664 def func():
665 line = 1
666 line = 2
667 line = 3
668 line = 4
669 line = 5
670
671 self.check_lines(func, [1,2,3,4,5])
672
673 def test_branch(self):
674 def func():

Callers

nothing calls this directly

Calls 1

check_linesMethod · 0.95

Tested by

no test coverage detected