Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ f
Method
f
numpy/testing/tests/test_utils.py:1158–1160 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1156
1157
def
test_warn(self):
1158
def
f():
1159
warnings.warn(
"yo"
)
1160
return
3
1161
1162
before_filters = sys.modules[
'warnings'
].filters[:]
1163
assert_equal(assert_warns(UserWarning, f), 3)
Callers
1
random.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected