diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-07-22 21:36:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 21:36:51 -0300 |
commit | 7ec6401ffabf79d52938ece5b8ff566a8b9c260e (patch) | |
tree | 6b34b476b5249750c8dd893b99f64eedf8345621 /src/_pytest/fixtures.py | |
parent | a9799f0b35fe8fcc88ebd19b007cd2c6ac6b2a4f (diff) | |
download | pytest-7ec6401ffabf79d52938ece5b8ff566a8b9c260e.tar.gz |
Change pytest deprecation warnings into errors for 6.0 release (#7362)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'src/_pytest/fixtures.py')
-rw-r--r-- | src/_pytest/fixtures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py index b24fc5fd3..9521a7a17 100644 --- a/src/_pytest/fixtures.py +++ b/src/_pytest/fixtures.py @@ -46,7 +46,6 @@ from _pytest.compat import TYPE_CHECKING from _pytest.config import _PluggyPlugin from _pytest.config import Config from _pytest.config.argparsing import Parser -from _pytest.deprecated import FILLFUNCARGS from _pytest.deprecated import FIXTURE_POSITIONAL_ARGUMENTS from _pytest.deprecated import FUNCARGNAMES from _pytest.mark import ParameterSet @@ -361,7 +360,8 @@ def reorder_items_atscope( def fillfixtures(function: "Function") -> None: """ fill missing funcargs for a test function. """ - warnings.warn(FILLFUNCARGS, stacklevel=2) + # Uncomment this after 6.0 release (#7361) + # warnings.warn(FILLFUNCARGS, stacklevel=2) try: request = function._request except AttributeError: |