code: def test_assert_frame_equal_types() -> None:
      df1 = pl.DataFrame({"a": [1, 2]})
      srs1 = pl.Series(values=[1, 2], name="a")
      with pytest.raises(
          AssertionError,
          match=r"inputs are different \(unexpected input types\)",
      ):
          assert_frame_equal(df1, srs1)
  
file_path: polars/py-polars/tests/unit/testing/test_assert_frame_equal.py
imports: from __future__ import annotations
  import math
  from typing import Any
  import pytest
  import polars
  from polars.exceptions import InvalidAssert
  from polars.testing import assert_frame_equal, assert_frame_not_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_assert_frame_equal_types() without return types