code: def test_Series_int_name():
      rf = pd.Series(data=raw_feature, name=1)
  
      msg = "Series name must be a string. Value '1' was of type <class 'int'>"
      with pytest.raises(ValueError) as execInfo:
          _ = metrics._group_feature.GroupFeature(
              "Not seen", rf, 2, None
          )
      assert execInfo.value.args[0] == msg
  
file_path: fairlearn/test/unit/metrics/test_group_feature.py
imports: import numpy
  import pandas
  import pytest
  import fairlearn.metrics
label_desc: Use image node_id 8 for calling a global function with example usage: test_Series_int_name() without return types