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

Method test_checkline_before_debugging

Lib/test/test_pdb.py:4763–4767  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4761 os_helper.unlink(os_helper.TESTFN)
4762
4763 def test_checkline_before_debugging(self):
4764 with open(os_helper.TESTFN, "w") as f:
4765 f.write("print(123)")
4766 db = pdb.Pdb()
4767 self.assertEqual(db.checkline(os_helper.TESTFN, 1), 1)
4768
4769 def test_checkline_after_reset(self):
4770 with open(os_helper.TESTFN, "w") as f:

Callers

nothing calls this directly

Calls 4

checklineMethod · 0.95
openFunction · 0.50
writeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected