Skip to content

Commit be3ef0b

Browse files
author
Jonathan Rocher
committed
Tweaks to the memory_fprofiler demo file
1 parent 3ad175d commit be3ef0b

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

mem_profile_test.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

memory_profile/memory_profiler_test_file.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ def my_func():
1515
del b
1616
result["a"] = a
1717
result["c"] = c
18+
19+
obj = MyClass(2,3)
1820
return result
1921

2022
class MyClass(object):
2123
def __init__(self, x, y):
2224
self.x = x
2325
self.y = y
24-
self.a = linspace(self.y)
2526

2627
if __name__ == '__main__':
2728
a = my_func()

0 commit comments

Comments
 (0)