Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1052
class
MockWinreg:
Callers
15
trace_variable
Method · 0.45
trace_vdelete
Method · 0.45
trace_vinfo
Method · 0.45
test_ignored_deprecations_are_silent
Method · 0.45
test_warnings
Method · 0.45
test_func
Method · 0.45
emit_warning
Method · 0.45
warn_future
Method · 0.45
raise_wrong_message
Method · 0.45
_runtime_warn
Method · 0.45
testAssertWarnsContext
Method · 0.45
warnfun
Function · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected