Skip to content

Commit

Permalink
applying comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Feb 3, 2016
1 parent d0bc275 commit 8bc3083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nilearn/tests/test_niimg_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def _check_memory(list_img_3d):
# measures with memory_profiler.
mem_offset = b'a' * 100 * 1024 ** 2
list(_iter_check_niimg(list_img_3d))
del mem_offset
return mem_offset


@with_memory_profiler
Expand Down
1 change: 1 addition & 0 deletions nilearn/tests/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
def create_object(size):
"""Just create and return an object containing `size` bytes."""
mem_use = b'a' * size
return mem_use


@with_memory_profiler
Expand Down

0 comments on commit 8bc3083

Please sign in to comment.