code: def test_series_format_long():
      s = pd.Series(
          [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] * 10,
          index=list("ABCDEFGHIJ") * 10,
      )
      ds = dd.from_pandas(s, 10)
      footer = _format_footer()
      exp = dedent(
          f"""\
          Dask Series Structure:
          npartitions=10
          A    int64
          B      ...
               ...  
          J      ...
          J      ...
          dtype: int64
          {footer}"""
      )
      assert repr(ds) == exp
      assert str(ds) == exp
      exp = dedent(
          """\
      npartitions=10
      A    int64
      B      ...
           ...  
      J      ...
      J      ..."""
      )
      assert ds.to_string() == exp
  
imports: from __future__ import annotations
  from textwrap import dedent
  import numpy
  import pandas
  import pytest
  import dask.array
  import dask.dataframe
  from dask.dataframe.utils import get_string_dtype, pyarrow_strings_enabled
  from dask.utils import maybe_pluralize
label_desc: Use image node_id 10 for calling a global function with example usage: test_series_format_long() without return types