code: def test_write_orc(s3_base, s3so, pdf):
      fname = "test_orc_writer.orc"
      bucket = "orc"
      gdf = cudf.from_pandas(pdf)
      with s3_context(s3_base=s3_base, bucket=bucket) as s3fs:
          gdf.to_orc(f"s3://{bucket}/{fname}", storage_options=s3so)
          assert s3fs.exists(f"s3://{bucket}/{fname}")
  
          with s3fs.open(f"s3://{bucket}/{fname}") as f:
              got = pd.read_orc(f)
  
      assert_eq(pdf, got)
  
imports: import os
  import socket
  from contextlib import contextmanager
  from io import BytesIO
  import numpy
  import pandas
  import pyarrow.fs
  import pytest
  from fsspec.core import get_fs_token_paths
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 22 for calling a global function with example usage: test_write_orc(s3_base, s3so, pdf) without return types