code: def test_struct_equality_strict() -> None:
      s1 = pl.Struct(
          [
              pl.Field("a", pl.Int64),
              pl.Field("b", pl.Boolean),
              pl.Field("c", pl.List(pl.Int32)),
          ]
      )
      s2 = pl.Struct(
          [
              pl.Field("a", pl.Int64),
              pl.Field("b", pl.Boolean),
              pl.Field("c", pl.List),
          ]
      )
  
      # strict
      assert s1.is_(s2) is False
      with pytest.deprecated_call():
          assert s1.is_not(s2) is True
  
      # permissive (default)
      assert s1 == s2
      assert s1 == s2
  
imports: from __future__ import annotations
  from dataclasses import dataclass
  from datetime import datetime, time
  from typing import TYPE_CHECKING
  import pandas
  import pyarrow
  import pytest
  import polars
  import polars.selectors
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_struct_equality_strict() without return types