summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog/3001.doc1
-rw-r--r--doc/en/parametrize.rst4
2 files changed, 3 insertions, 2 deletions
diff --git a/changelog/3001.doc b/changelog/3001.doc
new file mode 100644
index 000000000..e9b4dbd52
--- /dev/null
+++ b/changelog/3001.doc
@@ -0,0 +1 @@
+Add clarifying note about behavior of multiple parametrized arguments
diff --git a/doc/en/parametrize.rst b/doc/en/parametrize.rst
index 7a4ac2e18..7bc37ae38 100644
--- a/doc/en/parametrize.rst
+++ b/doc/en/parametrize.rst
@@ -123,8 +123,8 @@ To get all combinations of multiple parametrized arguments you can stack
def test_foo(x, y):
pass
-This will run the test with the arguments set to ``x=0/y=2``, ``x=0/y=3``, ``x=1/y=2`` and
-``x=1/y=3``.
+This will run the test with the arguments set to ``x=0/y=2``,``x=1/y=2``,
+``x=0/y=3``, and ``x=1/y=3`` exhausting parameters in the order of the decorators.
.. _`pytest_generate_tests`: