code: def test_sql_non_equi_joins(constraint: str) -> None:
      # no support (yet) for non equi-joins in polars joins
      with pytest.raises(
          InvalidOperationError,
          match=r"SQL interface \(currently\) only supports basic equi-join constraints",
      ), pl.SQLContext(
          {"tbl": pl.DataFrame({"a": [1, 2, 3], "b": [4, 3, 2]})}
      ) as ctx:
          ctx.execute(
              f"""
              SELECT *
              FROM tbl
              LEFT JOIN tbl ON {constraint}  -- not an equi-join
              """
          )
  
imports: from __future__ import annotations
  import datetime
  import math
  from pathlib import Path
  import pytest
  import polars
  import polars.selectors
  from polars.exceptions import ComputeError, InvalidOperationError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 16 for calling a global function with example usage: test_sql_non_equi_joins(constraint) without return types