code: def test_non_fsspec_options():
      pytest.importorskip("pyarrow")
      with pytest.raises(ValueError, match="storage_options"):
          read_csv("localfile", storage_options={"a": True})
      with pytest.raises(ValueError, match="storage_options"):
          # separate test for parquet, which has a different code path
          read_parquet("localfile", storage_options={"a": True})
      by = io.BytesIO()
  
      with pytest.raises(ValueError, match="storage_options"):
          read_csv(by, storage_options={"a": True})
  
      df = DataFrame({"a": [0]})
      with pytest.raises(ValueError, match="storage_options"):
          df.to_parquet("nonfsspecpath", storage_options={"a": True})
  
imports: import io
  import numpy
  import pytest
  from pandas import DataFrame, date_range, read_csv, read_excel, read_feather, read_json, read_parquet, read_pickle, read_stata, read_table
  import pandas._testing
  from pandas.util import _test_decorators
label_desc: Use image node_id 24 for calling a global function with example usage: test_non_fsspec_options() without return types