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

Method test_stack_entry

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

Source from the content-addressed store, hash-verified

4965 self.assertNotIn("\x1b", output.getvalue())
4966
4967 def test_stack_entry(self):
4968 output = io.StringIO()
4969 p = pdb.Pdb(stdout=output, colorize=True)
4970 p.set_trace(commands=['w', 'c'])
4971 self.assertIn("\x1b", output.getvalue())
4972
4973
4974@support.force_not_colorized_test_class

Callers

nothing calls this directly

Calls 3

set_traceMethod · 0.95
getvalueMethod · 0.95
assertInMethod · 0.80

Tested by

no test coverage detected