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

Method warn

Lib/test/test_getpath.py:1046–1049  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

1044 return self.realpath(link, _trail)
1045
1046 def warn(self, message):
1047 self._warnings.append(message)
1048 if verbose:
1049 print(message)
1050
1051
1052class MockWinreg:

Callers 15

trace_variableMethod · 0.45
trace_vdeleteMethod · 0.45
trace_vinfoMethod · 0.45
test_warningsMethod · 0.45
test_funcMethod · 0.45
emit_warningMethod · 0.45
warn_futureMethod · 0.45
raise_wrong_messageMethod · 0.45
_runtime_warnMethod · 0.45
warnfunFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected