code: def test_bad_get_window_bounds_signature():
      class BadIndexer(BaseIndexer):
          def get_window_bounds(self):
              return None
  
      indexer = BadIndexer()
      with pytest.raises(
          ValueError, match="BadIndexer does not implement"
      ):
          Series(range(5)).rolling(indexer)
  
imports: import numpy
  import pytest
  from pandas import DataFrame, MultiIndex, Series, concat, date_range
  import pandas._testing
  from pandas.api.indexers import BaseIndexer, FixedForwardWindowIndexer
  from pandas.core.indexers.objects import ExpandingIndexer, FixedWindowIndexer, VariableOffsetWindowIndexer
  from pandas.tseries.offsets import BusinessDay
label_desc: Use image node_id 1 for calling a global function with example usage: test_bad_get_window_bounds_signature() and returns: None