code: def test_is_uniform_2H_fail(timestamps):
      assert not pandas.is_uniform(
          pd.DatetimeIndex(timestamps).to_period("2H")
      )
  
imports: import io
  from typing import Callable, List, Union
  import pandas
  import numpy
  import pytest
  from gluonts.dataset import pandas
  from gluonts.testutil.equality import assert_recursively_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_is_uniform_2H_fail(timestamps) without return types