code: def test_repeat(dtype):
      arr = np.random.rand(10) * 10
      repeats = np.random.randint(10, size=10)
      psr = pd.Series(arr).astype(dtype)
      gsr = cudf.from_pandas(psr)
  
      assert_eq(psr.repeat(repeats), gsr.repeat(repeats))
  
imports: import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.testing._utils import NUMERIC_TYPES, OTHER_TYPES, assert_eq
label_desc: Use image node_id 1 for calling a global function with example usage: test_repeat(dtype) without return types