File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 36
36
37
37
**Changes **
38
38
39
+ * Fixtures marked with ``@pytest.fixture `` can now use ``yield `` statements exactly like
40
+ those marked with the ``@pytest.yield_fixture `` decorator. This change renders
41
+ ``@pytest.yield_fixture `` deprecated and makes ``@pytest.fixture `` with ``yield `` statements
42
+ the preferred way to write teardown code (`#1461 `_).
43
+ Thanks `@csaftoiu `_ for bringing this to attention and `@nicoddemus `_ for the PR.
44
+
39
45
* Fix (`#1351 `_):
40
46
explicitly passed parametrize ids do not get escaped to ascii.
41
47
Thanks `@ceridwen `_ for the PR.
58
64
*
59
65
60
66
.. _@milliams : https://github.com/milliams
67
+ .. _@csaftoiu : https://github.com/csaftoiu
61
68
.. _@novas0x2a : https://github.com/novas0x2a
62
69
.. _@kalekundert : https://github.com/kalekundert
63
70
.. _@tareqalayan : https://github.com/tareqalayan
72
79
.. _#1441 : https://github.com/pytest-dev/pytest/pull/1441
73
80
.. _#1454 : https://github.com/pytest-dev/pytest/pull/1454
74
81
.. _#1351 : https://github.com/pytest-dev/pytest/issues/1351
82
+ .. _#1461 : https://github.com/pytest-dev/pytest/pull/1461
75
83
.. _#1468 : https://github.com/pytest-dev/pytest/pull/1468
76
84
.. _#1474 : https://github.com/pytest-dev/pytest/pull/1474
77
85
.. _#1502 : https://github.com/pytest-dev/pytest/pull/1502
You can’t perform that action at this time.
0 commit comments