Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pythonprofilers/memory_profiler
/ write_line
Function
write_line
test/test_memory_usage.py:16–18 ·
view source on GitHub ↗
(filepath)
Source
from the content-addressed store, hash-verified
14
15
16
def
write_line(filepath):
17
with
open(filepath,
'a'
)
as
the_file:
18
the_file.write(
'Testing\n'
)
19
20
def
test_max_iterations():
21
# Check that memory_usage works with max_iterations set (for python functions).
Callers
nothing calls this directly
Calls
1
write
Method · 0.80
Tested by
no test coverage detected