code: def test_repr(self):
      r = zeros.RootResults(
          root=1.0, iterations=44, function_calls=46, flag=0
      )
      expected_repr = (
          "      converged: True\n           flag: 'converged'"
          "\n function_calls: 46\n     iterations: 44\n"
          "           root: 1.0"
      )
      assert_equal(repr(r), expected_repr)
  
imports: from __future__ import division, print_function, absolute_import
  import pytest
  from math import sqrt, exp, sin, cos
  from numpy.testing import assert_warns, assert_, assert_allclose, assert_equal, assert_array_equal
  import numpy
  from numpy import finfo, power, nan, isclose
  from scipy.optimize import zeros, newton, root_scalar
  from scipy._lib._util import getargspec_no_self
  from scipy.optimize._tstutils import get_tests, functions, fstrings
  from scipy._lib._numpy_compat import suppress_warnings
label_desc: Use image node_id 1 for calling the TestRootResults obj's underlying member method code with example usage: obj.test_repr() without return types