Skip to content

Commit 2ffe354

Browse files
committed
Add CHANGELOG for invocation-scoped fixtures
1 parent fb4da00 commit 2ffe354

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@
116116
Example '-o xfail_strict=True'. A complete ini-options can be viewed
117117
by py.test --help. Thanks `@blueyed`_ and `@fengxx`_ for the PR
118118

119-
*
119+
* New scope for fixtures: ``"invocation"``. This fixtures may be requested by fixtures from
120+
any scope, when they assume the same scope as the fixture requesting it. An ``invocation``-scoped
121+
fixture can be requested from different scopes in the same test session,
122+
in which case each scope will have its own copy. This feature is considered experimental.
123+
Thanks `@nicoddemus`_ for the PR.
120124

121125
*
122126

0 commit comments

Comments
 (0)