MCPcopy Index your code
hub / github.com/numpy/numpy / fail

Method fail

numpy/_core/tests/test_multiarray.py:6207–6208  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

6205 x.tofile(tmp_filename)
6206
6207 def fail(*args, **kwargs):
6208 raise OSError('Can not tell or seek')
6209
6210 with open(tmp_filename, 'rb', buffering=0) as f:
6211 f.seek = fail

Callers 11

run_mypyFunction · 0.45
test_passFunction · 0.45
test_revealFunction · 0.45
run_subprocessFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected