code: def test_assert_series_equal_incompatible_data_types() -> None:
      s1 = pl.Series(["a", "b", "a"], dtype=pl.Categorical)
      s2 = pl.Series([0, 1, 0], dtype=pl.Int8)
  
      with pytest.raises(
          AssertionError, match="incompatible data types"
      ):
          assert_series_equal(s1, s2, check_dtype=False)
  
imports: from __future__ import annotations
  import math
  from datetime import datetime, time, timedelta
  from decimal import Decimal
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_series_equal, assert_series_not_equal
label_desc: Use image node_id 15 for calling a global function with example usage: test_assert_series_equal_incompatible_data_types() without return types