code: def test_from_dataframe_data_type_not_implemented_by_arrow(
      dtype: pl.PolarsDataType,
  ) -> None:
      df = pl.Series([0], dtype=dtype).to_frame().to_arrow()
      dfi = df.__dataframe__()
      with pytest.raises(ValueError, match="not supported"):
          pl.from_dataframe(dfi)
  
imports: from __future__ import annotations
  from typing import Any
  import pandas
  import pyarrow
  import pytest
  import polars
  import polars.interchange.from_dataframe
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 11 for calling a global function with example usage: test_from_dataframe_data_type_not_implemented_by_arrow(dtype) without return types