code: def test_sorted_unique_dates() -> None:
      assert (
          pl.DataFrame(
              [
                  pl.Series(
                      "dt",
                      [date(2015, 6, 24), date(2015, 6, 23)],
                      dtype=pl.Date,
                  )
              ]
          )
          .sort("dt")
          .unique()
      ).to_dict(as_series=False) == {
          "dt": [date(2015, 6, 23), date(2015, 6, 24)]
      }
  
file_path: polars/py-polars/tests/unit/operations/unique/test_unique.py
imports: from __future__ import annotations
  from datetime import date
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 8 for calling a global function with example usage: test_sorted_unique_dates() without return types