code: def test_lazy_rename() -> None:
      df = pl.DataFrame({"x": [1], "y": [2]})
  
      assert (
          df.lazy()
          .rename({"y": "x", "x": "y"})
          .select(["x", "y"])
          .collect()
      ).to_dict(as_series=False) == {"x": [2], "y": [1]}
  
imports: from __future__ import annotations
  from collections import OrderedDict
  from datetime import date, timedelta
  from typing import Any, Iterator, Mapping
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 21 for calling a global function with example usage: test_lazy_rename() without return types