MCPcopy Index your code
hub / github.com/python/cpython / test_linear

Method test_linear

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

Source from the content-addressed store, hash-verified

654
655
656 def test_linear(self):
657
658 def func():
659 line = 1
660 line = 2
661 line = 3
662 line = 4
663 line = 5
664
665 self.check_lines(func, [1,2,3,4,5])
666
667 def test_branch(self):
668 def func():

Callers

nothing calls this directly

Calls 1

check_linesMethod · 0.95

Tested by

no test coverage detected