code: def test_duration_division_schema() -> None:
      df = pl.DataFrame({"a": [1]})
      q = (
          df.lazy()
          .with_columns(pl.col("a").cast(pl.Duration))
          .select(pl.col("a") / pl.col("a"))
      )
  
      assert q.schema == {"a": pl.Float64}
      assert q.collect().to_dict(as_series=False) == {"a": [1.0]}
  
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 29 for calling a global function with example usage: test_duration_division_schema() without return types