code: def test_writearff_unsupported_column_type(temp_file):
      data = pd.DataFrame(
          {
              "attr_datetime": np.array(
                  [
                      2 + 3j,
                      45.1 - 1j,
                      0 - 1j,
                      7 + 0j,
                      132 - 3j,
                      1 - 0.41j,
                  ],
                  dtype="complex128",
              ),
          }
      )
  
      with pytest.raises(
          TypeError, match="unsupported type complex128"
      ):
          writearff(
              data, temp_file, relation_name="test_delta", index=False
          )
  
file_path: scikit-survival/tests/test_io.py
imports: from collections import OrderedDict
  from io import StringIO
  import numpy
  import pandas
  import pandas.testing
  import pytest
  from sksurv.io import loadarff, writearff
  from sksurv.testing import FixtureParameterFactory
label_desc: Use image node_id 3 for calling a global function with example usage: test_writearff_unsupported_column_type(temp_file) without return types