Drop support for positional arguments in @pytest.fixture

This commit is contained in:
Bruno Oliveira
2020-08-17 17:26:06 -03:00
parent 98530184a5
commit c747dc5248
5 changed files with 10 additions and 122 deletions

View File

@@ -162,6 +162,13 @@ Removed Features
As stated in our :ref:`backwards-compatibility` policy, deprecated features are removed only in major releases after
an appropriate period of deprecation has passed.
``pytest.fixture`` arguments are keyword only
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionremoved:: 6.0
Passing arguments to pytest.fixture() as positional arguments has been removed - pass them by keyword instead.
``funcargnames`` alias for ``fixturenames``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~