summaryrefslogtreecommitdiff
path: root/changelog
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2020-08-17 17:26:06 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2020-08-19 08:11:42 -0300
commitc747dc524878bb476e44d8ee17abd507da0a2c01 (patch)
treecc7531f399ef83e86eea21114ddb973334b858b6 /changelog
parent98530184a5d8f6b84da9cd1a72907f6ea28a65be (diff)
downloadpytest-c747dc524878bb476e44d8ee17abd507da0a2c01.tar.gz
Drop support for positional arguments in @pytest.fixture
Diffstat (limited to 'changelog')
-rw-r--r--changelog/5585.breaking.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog/5585.breaking.rst b/changelog/5585.breaking.rst
index 12b9a52dd..655c4a42e 100644
--- a/changelog/5585.breaking.rst
+++ b/changelog/5585.breaking.rst
@@ -2,3 +2,5 @@ As per our policy, the following features have been deprecated in the 5.X series
removed:
* The ``funcargnames`` read-only property of ``FixtureRequest``, ``Metafunc``, and ``Function`` classes. Use ``fixturenames`` attribute.
+
+* ``@pytest.fixture`` no longer supports positional arguments, pass all arguments by keyword instead.