code: def test_init_decimal_dtype() -> None:
      s = pl.Series(
          "a", [D("-0.01"), D("1.2345678"), D("500")], dtype=pl.Decimal
      )
      assert s.dtype.is_numeric()
  
      df = pl.DataFrame(
          {"a": [D("-0.01"), D("1.2345678"), D("500")]},
          schema={"a": pl.Decimal},
      )
      assert df["a"].dtype.is_numeric()
  
imports: from __future__ import annotations
  import io
  import itertools
  from dataclasses import dataclass
  from decimal import Decimal
  from typing import Any, NamedTuple
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_init_decimal_dtype() without return types