code: def test_offset_no_fractional_periods(unit, period):
      with pytest.raises(
          ValueError,
          match=re.escape("Non-integer periods not supported"),
      ):
          DateOffset(**{unit: period})
  
imports: import re
  import numpy
  import pytest
  from cudf import DateOffset
label_desc: Use image node_id 4 for calling a global function with example usage: test_offset_no_fractional_periods(unit, period) without return types