code: def test_dt_to_string(series_of_int_dates: pl.Series) -> None:
      expected_str_dates = pl.Series(
          ["1997-05-19", "2024-10-04", "2052-02-20"]
      )
  
      assert series_of_int_dates.dtype == pl.Date
      assert_series_equal(
          series_of_int_dates.dt.to_string("%F"), expected_str_dates
      )
  
      # Check strftime alias as well
      assert_series_equal(
          series_of_int_dates.dt.strftime("%F"), expected_str_dates
      )
  
imports: from __future__ import annotations
  import sys
  from datetime import date, datetime, time, timedelta
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.datatypes import DTYPE_TEMPORAL_UNITS
  from polars.dependencies import _ZONEINFO_AVAILABLE
  from polars.exceptions import ComputeError, InvalidOperationError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_dt_to_string(series_of_int_dates) without return types