code: def test_write_orc(pdf, monkeypatch, tmpdir):
      gcs_fname = TEST_BUCKET + "test_orc_writer.orc"
      local_filepath = os.path.join(tmpdir, "test_orc.orc")
      gdf = cudf.from_pandas(pdf)
  
      def mock_open(*args, **kwargs):
          return open(local_filepath, "wb")
  
      monkeypatch.setattr(gcsfs.core.GCSFileSystem, "open", mock_open)
      gdf.to_orc(f"gcs://{gcs_fname}")
  
      got = pd.read_orc(local_filepath)
      assert_eq(pdf, got)
  
file_path: cudf/python/cudf/cudf/tests/test_gcs.py
imports: import io
  import os
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 3 for calling a global function with example usage: test_write_orc(pdf, monkeypatch, tmpdir) and returns: open