File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ and if you need to have access to the actual exception info you may use::
85
85
the actual exception raised. The main attributes of interest are
86
86
``.type ``, ``.value `` and ``.traceback ``.
87
87
88
- .. versionchanged :: 2.10
88
+ .. versionchanged :: 3.0
89
89
90
90
In the context manager form you may use the keyword argument
91
91
``message `` to specify a custom failure message::
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ libraries or subprocesses that directly write to operating
116
116
system level output streams (FD1 and FD2).
117
117
118
118
119
- .. versionadded :: 2.10
119
+ .. versionadded :: 3.0
120
120
121
121
To temporarily disable capture within a test, both ``capsys ``
122
122
and ``capfd `` have a ``disabled() `` method that can be used
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ itself::
105
105
The 'doctest_namespace' fixture
106
106
-------------------------------
107
107
108
- .. versionadded :: 2.10
108
+ .. versionadded :: 3.0
109
109
110
110
The ``doctest_namespace `` fixture can be used to inject items into the
111
111
namespace in which your doctests run. It is intended to be used within
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ This will add an extra property ``example_key="1"`` to the generated
204
204
LogXML: add_global_property
205
205
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206
206
207
- .. versionadded :: 2.10
207
+ .. versionadded :: 3.0
208
208
209
209
If you want to add a properties node in the testsuite level, which may contains properties that are relevant
210
210
to all testcases you can use ``LogXML.add_global_properties ``
Original file line number Diff line number Diff line change 3
3
"yield_fixture" functions
4
4
---------------------------------------------------------------
5
5
6
- .. deprecated :: 2.10
6
+ .. deprecated :: 3.0
7
7
8
8
.. versionadded :: 2.4
9
9
10
10
.. important ::
11
- Since pytest-2.10 , fixtures using the normal ``fixture `` decorator can use a ``yield ``
11
+ Since pytest-3.0 , fixtures using the normal ``fixture `` decorator can use a ``yield ``
12
12
statement to provide fixture values and execute teardown code, exactly like ``yield_fixture ``
13
13
in previous versions.
14
14
You can’t perform that action at this time.
0 commit comments