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

Method _debug

Lib/test/test_interpreters/test_lifecycle.py:55–66  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

53 _debugged = False
54 _debugged_in_subtest = False
55 def _debug(self, msg):
56 if not self._debugged:
57 print()
58 self._debugged = True
59 if self._subtest is not None:
60 if True:
61 if not self._debugged_in_subtest:
62 self._debugged_in_subtest = True
63 print('### start subtest debug ###')
64 print(msg)
65 else:
66 print(msg)
67
68 def create_temp_dir(self):
69 import tempfile

Callers 1

debugMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected