code: def test_read_handle_behaves_like_file():
      with read_handle(path) as handle:
          content1 = handle.read()
          handle.seek(0)
          content2 = handle.read()
      assert content1 == content2
  
file_path: lucid/tests/misc/io/test_reading.py
imports: from __future__ import absolute_import, division, print_function
  import pytest
  from lucid.misc.io.reading import read, read_handle
  import os.path
  import io
label_desc: Use image node_id 3 for calling a global function with example usage: test_read_handle_behaves_like_file() without return types