'Configures the result object and objects it contains.
:param status_rc: If set to ``False``, :attr:`return_code` always
returns 0.
:param suite_config: A dictionary of configuration options passed
to :meth:`~.result.testsuite.TestSuite.configure` method of
the contained ``suite``.
:param stat_config: A dictionary of configuration options used when
creating :attr:`statistics`.'

def configure(self, status_rc=True, suite_config=None, stat_config=None):

    if suite_config:
        self.suite.configure(**suite_config)
    self._status_rc = status_rc
    self._stat_config = (stat_config or {})
