@@ -351,15 +351,14 @@ class RunResult:
351
351
352
352
Attributes:
353
353
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
358
358
reconstruct stdout or the commonly used ``stdout.fnmatch_lines()``
359
359
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
363
362
"""
364
363
365
364
def __init__ (self , ret , outlines , errlines , duration ):
@@ -454,9 +453,9 @@ class Testdir:
454
453
455
454
Attributes:
456
455
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.
458
457
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
460
459
:py:meth:`runpytest`. Initially this is an empty list but plugins can
461
460
be added to the list. The type of items to add to the list depends on
462
461
the method using them so refer to them for details.
0 commit comments