code: def test_filesystem_deprecated_toplevel():
      with pytest.warns(FutureWarning):
          pa.localfs
  
      with pytest.warns(FutureWarning):
          pa.FileSystem
  
      with pytest.warns(FutureWarning):
          pa.LocalFileSystem
  
      with pytest.warns(FutureWarning):
          pa.HadoopFileSystem
  
file_path: arrow/python/pyarrow/tests/test_filesystem.py
imports: import pyarrow
  from pyarrow import filesystem
  import os
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_filesystem_deprecated_toplevel() without return types