diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-07-11 08:44:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 08:44:34 -0300 |
commit | d466cc25a78b442cd4ccaafae4adef9a7f1e4012 (patch) | |
tree | d070a7a8dbed3234e17e0269532cae2180f53b7f /src/_pytest/fixtures.py | |
parent | 0b58f73d44595009779e4e8d32d3a0ea0af826b1 (diff) | |
parent | 289197ff228af8ddd51e51fff6bee6bdd93cc780 (diff) | |
download | pytest-d466cc25a78b442cd4ccaafae4adef9a7f1e4012.tar.gz |
Merge pull request #7424 from nicoddemus/package-scope-experimental-7389
Remove package scope experimental status
Diffstat (limited to 'src/_pytest/fixtures.py')
-rw-r--r-- | src/_pytest/fixtures.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py index cedcd4625..d82d755eb 100644 --- a/src/_pytest/fixtures.py +++ b/src/_pytest/fixtures.py @@ -1274,8 +1274,7 @@ def fixture( # noqa: F811 :arg scope: the scope for which this fixture is shared, one of ``"function"`` (default), ``"class"``, ``"module"``, - ``"package"`` or ``"session"`` (``"package"`` is considered **experimental** - at this time). + ``"package"`` or ``"session"``. This parameter may also be a callable which receives ``(fixture_name, config)`` as parameters, and must return a ``str`` with one of the values mentioned above. |