From 2ffe354f21f831d14e7d806f07ed908913408561 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 11 Jul 2016 20:32:59 -0300 Subject: [PATCH] Add CHANGELOG for invocation-scoped fixtures --- CHANGELOG.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 593b81fa6..0f8824321 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -116,7 +116,11 @@ Example '-o xfail_strict=True'. A complete ini-options can be viewed by py.test --help. Thanks `@blueyed`_ and `@fengxx`_ for the PR -* +* New scope for fixtures: ``"invocation"``. This fixtures may be requested by fixtures from + any scope, when they assume the same scope as the fixture requesting it. An ``invocation``-scoped + fixture can be requested from different scopes in the same test session, + in which case each scope will have its own copy. This feature is considered experimental. + Thanks `@nicoddemus`_ for the PR. *