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

Method test_run_pdb_with_pdb

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

Source from the content-addressed store, hash-verified

4189 self.assertTrue(all("SUCCESS" not in l for l in stdout.splitlines()), stdout)
4190
4191 def test_run_pdb_with_pdb(self):
4192 commands = """
4193 c
4194 quit
4195 """
4196 stdout, stderr = self._run_pdb(["-m", "pdb"], commands)
4197 self.assertIn(
4198 pdb._usage,
4199 stdout.replace('\r', '') # remove \r for windows
4200 )
4201
4202 def test_module_without_a_main(self):
4203 module_name = 't_main'

Callers

nothing calls this directly

Calls 3

_run_pdbMethod · 0.95
assertInMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected