code: def test_map_abc_mapping(non_dict_mapping_subclass):
      # https://github.com/pandas-dev/pandas/issues/29733
      # Check collections.abc.Mapping support as mapper for Series.map
      s = Series([1, 2, 3])
      not_a_dictionary = non_dict_mapping_subclass({3: "three"})
      result = s.map(not_a_dictionary)
      expected = Series([np.nan, np.nan, "three"])
      tm.assert_series_equal(result, expected)
  
imports: from collections import Counter, defaultdict
  from decimal import Decimal
  import math
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, bdate_range, date_range, isna, timedelta_range
  import pandas._testing
label_desc: Use image node_id 34 for calling a global function with example usage: test_map_abc_mapping(non_dict_mapping_subclass) without return types