code: def test_info_memory_usage_qualified(index, plus):
      buf = StringIO()
      series = Series(1, index=index)
      series.info(buf=buf)
      if plus:
          assert "+" in buf.getvalue()
      else:
          assert "+" not in buf.getvalue()
  
file_path: pandas/pandas/tests/series/methods/test_info.py
imports: from io import StringIO
  from string import ascii_uppercase
  import textwrap
  import numpy
  import pytest
  from pandas.compat import PYPY
  from pandas import CategoricalIndex, MultiIndex, Series, date_range
label_desc: Use image node_id 9 for calling a global function with example usage: test_info_memory_usage_qualified(index, plus) without return types