code: def create_object(size):
      """Just create and return an object containing `size` bytes."""
      mem_use = b"a" * size
      return mem_use
  
file_path: nilearn/nilearn/_utils/tests/test_testing.py
imports: import warnings
  import nibabel
  import numpy
  import pytest
  from nilearn._utils.testing import assert_memory_less_than, check_deprecation, with_memory_profiler, write_imgs_to_path
label_desc: Use image node_id 1 for calling a global function with example usage: create_object(size) and returns: mem_use