Skip to content

Commit adef4f1

Browse files
authored
Merge pull request #265 from jnothman/patch-1
Fix memit to handle change in memory_usage API
2 parents 1a853e5 + 6bb02fc commit adef4f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memory_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ def memit(self, line='', cell=None):
10521052
timeout=timeout, interval=interval,
10531053
max_usage=True,
10541054
include_children=include_children)
1055-
mem_usage.append(tmp[0])
1055+
mem_usage.append(tmp)
10561056

10571057
result = MemitResult(mem_usage, baseline, repeat, timeout, interval,
10581058
include_children)

0 commit comments

Comments
 (0)