code: def test_newline(self):
      ser = Series(["a\n\r\tb"], name="a\n\r\td", index=["a\n\r\tf"])
      assert "\t" not in repr(ser)
      assert "\r" not in repr(ser)
      assert "a\n" not in repr(ser)
  
imports: from datetime import datetime, timedelta
  import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  import pandas
  from pandas import Categorical, DataFrame, Index, Series, date_range, option_context, period_range, timedelta_range
  import pandas._testing
label_desc: Use image node_id 14 for calling the TestSeriesRepr obj's underlying member method code with example usage: obj.test_newline() without return types