code: def test_sum_dtype_12028() -> None:
      result = pl.select(
          pl.sum_horizontal([pl.duration(seconds=10)]).alias(
              "sum_duration"
          )
      )
      expected = pl.DataFrame(
          [
              pl.Series(
                  "sum_duration",
                  [datetime.timedelta(seconds=10)],
                  dtype=pl.Duration(time_unit="us"),
              ),
          ]
      )
      assert_frame_equal(expected, result)
  
imports: from __future__ import annotations
  import datetime
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 17 for calling a global function with example usage: test_sum_dtype_12028() without return types