code: def test_panic_error() -> None:
      with pytest.raises(
          pl.PolarsPanicError,
          match="unit: 'k' not supported",
      ):
          pl.datetime_range(
              start=datetime(2021, 12, 16),
              end=datetime(2021, 12, 16, 3),
              interval="99k",
              eager=True,
          )
  
imports: from __future__ import annotations
  import io
  from datetime import date, datetime, time
  from decimal import Decimal
  from typing import TYPE_CHECKING, Any
  import numpy
  import pytest
  import polars
  from polars.datatypes.convert import dtype_to_py_type
  from polars.exceptions import InvalidOperationError
label_desc: Use image node_id 8 for calling a global function with example usage: test_panic_error() without return types