code: def test_background_gradient_gmap_wrong_series(styler_blank):
      # test giving a gmap in Series form but with wrong axis
      msg = "'gmap' is a Series but underlying data for operations is a DataFrame"
      gmap = Series([1, 2], index=["X", "Y"])
      with pytest.raises(ValueError, match=msg):
          styler_blank.background_gradient(
              gmap=gmap, axis=None
          )._compute()
  
imports: import gc
  import numpy
  import pytest
  from pandas import DataFrame, IndexSlice, Series
  import matplotlib
  from pandas.io.formats.style import Styler
label_desc: Use image node_id 17 for calling a global function with example usage: test_background_gradient_gmap_wrong_series(styler_blank) without return types