code: def test_file_handles_mmap(c_parser_only, csv1):
      # gh-14418
      #
      # Don't close user provided file handles.
      parser = c_parser_only
  
      with open(csv1, encoding="utf-8") as f:
          with mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) as m:
              parser.read_csv(m)
              assert not m.closed
  
imports: from decimal import Decimal
  from io import BytesIO, StringIO, TextIOWrapper
  import mmap
  import os
  import tarfile
  import numpy
  import pytest
  from pandas.compat.numpy import np_version_gte1p24
  from pandas.errors import ParserError, ParserWarning
  import pandas.util._test_decorators
  from pandas import DataFrame, concat
  import pandas._testing
label_desc: Use image node_id 23 for calling a global function with example usage: test_file_handles_mmap(c_parser_only, csv1) without return types