@@ -351,15 +351,14 @@ class RunResult:
351351
352352 Attributes:
353353
354- :ret: the return value
355- :outlines: list of lines captured from stdout
356- :errlines: list of lines captures from stderr
357- :stdout: :py:class:`LineMatcher` of stdout, use ``stdout.str()`` to
354+ :ivar ret: the return value
355+ :ivar outlines: list of lines captured from stdout
356+ :ivar errlines: list of lines captured from stderr
357+ :ivar stdout: :py:class:`LineMatcher` of stdout, use ``stdout.str()`` to
358358 reconstruct stdout or the commonly used ``stdout.fnmatch_lines()``
359359 method
360- :stderr: :py:class:`LineMatcher` of stderr
361- :duration: duration in seconds
362-
360+ :ivar stderr: :py:class:`LineMatcher` of stderr
361+ :ivar duration: duration in seconds
363362 """
364363
365364 def __init__ (self , ret , outlines , errlines , duration ):
@@ -454,9 +453,9 @@ class Testdir:
454453
455454 Attributes:
456455
457- :tmpdir: The :py:class:`py.path.local` instance of the temporary directory.
456+ :ivar tmpdir: The :py:class:`py.path.local` instance of the temporary directory.
458457
459- :plugins: A list of plugins to use with :py:meth:`parseconfig` and
458+ :ivar plugins: A list of plugins to use with :py:meth:`parseconfig` and
460459 :py:meth:`runpytest`. Initially this is an empty list but plugins can
461460 be added to the list. The type of items to add to the list depends on
462461 the method using them so refer to them for details.
0 commit comments