code: def test_assert_frame_equal_dtypes_mismatch() -> None:
      data = {"a": [1, 2], "b": [3, 4]}
      df1 = pl.DataFrame(data, schema={"a": pl.Int8, "b": pl.Int16})
      df2 = pl.DataFrame(data, schema={"b": pl.Int16, "a": pl.Int16})
  
      with pytest.raises(AssertionError, match="dtypes do not match"):
          assert_frame_equal(df1, df2, check_column_order=False)
  
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 12 for calling a global function with example usage: test_assert_frame_equal_dtypes_mismatch() without return types