code: def test_single_digit_month(
      datatype: PolarsTemporalType, expected: datetime | date
  ) -> None:
      s = pl.Series(["2022-1-1"]).str.strptime(datatype, "%Y-%m-%d")
      assert s[0] == expected
  
imports: from __future__ import annotations
  import contextlib
  from datetime import date, datetime, time, timedelta, timezone
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.exceptions import ComputeError, TimeZoneAwareConstructorWarning
  from polars.testing import assert_series_equal
label_desc: Use image node_id 21 for calling a global function with example usage: test_single_digit_month(datatype, expected) without return types