@@ -33,7 +33,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
33
33
34
34
Values can be any object handled by the json stdlib module.
35
35
36
- capsys -- .../_pytest/capture.py:878
36
+ capsys -- .../_pytest/capture.py:905
37
37
Enable text capturing of writes to ``sys.stdout`` and ``sys.stderr``.
38
38
39
39
The captured output is made available via ``capsys.readouterr()`` method
@@ -51,7 +51,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
51
51
captured = capsys.readouterr()
52
52
assert captured.out == "hello\n"
53
53
54
- capsysbinary -- .../_pytest/capture.py:906
54
+ capsysbinary -- .../_pytest/capture.py:933
55
55
Enable bytes capturing of writes to ``sys.stdout`` and ``sys.stderr``.
56
56
57
57
The captured output is made available via ``capsysbinary.readouterr()``
@@ -69,7 +69,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
69
69
captured = capsysbinary.readouterr()
70
70
assert captured.out == b"hello\n"
71
71
72
- capfd -- .../_pytest/capture.py:934
72
+ capfd -- .../_pytest/capture.py:961
73
73
Enable text capturing of writes to file descriptors ``1`` and ``2``.
74
74
75
75
The captured output is made available via ``capfd.readouterr()`` method
@@ -87,7 +87,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
87
87
captured = capfd.readouterr()
88
88
assert captured.out == "hello\n"
89
89
90
- capfdbinary -- .../_pytest/capture.py:962
90
+ capfdbinary -- .../_pytest/capture.py:989
91
91
Enable bytes capturing of writes to file descriptors ``1`` and ``2``.
92
92
93
93
The captured output is made available via ``capfd.readouterr()`` method
@@ -105,7 +105,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
105
105
captured = capfdbinary.readouterr()
106
106
assert captured.out == b"hello\n"
107
107
108
- doctest_namespace [session scope] -- .../_pytest/doctest.py:735
108
+ doctest_namespace [session scope] -- .../_pytest/doctest.py:738
109
109
Fixture that returns a :py:class:`dict` that will be injected into the
110
110
namespace of doctests.
111
111
@@ -119,7 +119,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
119
119
120
120
For more details: :ref:`doctest_namespace`.
121
121
122
- pytestconfig [session scope] -- .../_pytest/fixtures.py:1344
122
+ pytestconfig [session scope] -- .../_pytest/fixtures.py:1351
123
123
Session-scoped fixture that returns the session's :class:`pytest.Config`
124
124
object.
125
125
@@ -163,7 +163,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
163
163
record_testsuite_property("ARCH", "PPC")
164
164
record_testsuite_property("STORAGE_TYPE", "CEPH")
165
165
166
- ``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
166
+ :param name:
167
+ The property name.
168
+ :param value:
169
+ The property value. Will be converted to a string.
167
170
168
171
.. warning::
169
172
@@ -193,7 +196,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
193
196
194
197
.. _legacy_path: https://py.readthedocs.io/en/latest/path.html
195
198
196
- caplog -- .../_pytest/logging.py:487
199
+ caplog -- .../_pytest/logging.py:491
197
200
Access and control log capturing.
198
201
199
202
Captured logs are available through the following properties/methods::
@@ -228,16 +231,16 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
228
231
To undo modifications done by the fixture in a contained scope,
229
232
use :meth:`context() <pytest.MonkeyPatch.context>`.
230
233
231
- recwarn -- .../_pytest/recwarn.py:29
234
+ recwarn -- .../_pytest/recwarn.py:30
232
235
Return a :class:`WarningsRecorder` instance that records all warnings emitted by test functions.
233
236
234
- See https://docs.python .org/library /how-to/capture-warnings.html for information
237
+ See https://docs.pytest .org/en/latest /how-to/capture-warnings.html for information
235
238
on warning categories.
236
239
237
- tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:184
240
+ tmp_path_factory [session scope] -- .../_pytest/tmpdir.py:188
238
241
Return a :class:`pytest.TempPathFactory` instance for the test session.
239
242
240
- tmp_path -- .../_pytest/tmpdir.py:199
243
+ tmp_path -- .../_pytest/tmpdir.py:203
241
244
Return a temporary directory path object which is unique to each test
242
245
function invocation, created as a sub directory of the base temporary
243
246
directory.
0 commit comments