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

Method test_generator_with_line

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

Source from the content-addressed store, hash-verified

698 self.check_lines(func2, [1,2,3,4,5,6])
699
700 def test_generator_with_line(self):
701
702 def f():
703 def a():
704 yield
705 def b():
706 yield from a()
707 next(b())
708
709 self.check_lines(f, [1,3,5,4,2,4])
710
711class TestDisable(MonitoringTestBase, unittest.TestCase):
712

Callers

nothing calls this directly

Calls 1

check_linesMethod · 0.95

Tested by

no test coverage detected