Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ warnfun
Function
warnfun
Lib/test/test_unittest/_test_warnings.py:17–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
import
warnings
16
17
def
warnfun():
18
warnings.warn(
'rw'
, RuntimeWarning)
19
20
class
TestWarnings(unittest.TestCase):
21
def
test_other_unittest(self):
Callers
1
test_function
Method · 0.85
Calls
1
warn
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…