Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ fail
Method
fail
numpy/core/tests/test_multiarray.py:5368–5369 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
5366
x.tofile(tmp_filename)
5367
5368
def
fail(*args, **kwargs):
5369
raise
OSError(
'Can not tell or seek'
)
5370
5371
with
io.open(tmp_filename,
'rb'
, buffering=0)
as
f:
5372
f.seek = fail
Callers
2
run_mypy
Function · 0.45
test_fail
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected