Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ make_empty_file
Function
make_empty_file
IPython/utils/tests/test_module_paths.py:39–40 ·
view source on GitHub ↗
(fname)
Source
from the content-addressed store, hash-verified
37
old_syspath = sys.path
38
39
def
make_empty_file(fname):
40
open(fname,
'w'
).close()
41
42
43
def
setup_module():
Callers
1
setup_module
Function · 0.85
Calls
1
close
Method · 0.45
Tested by
no test coverage detected