From 70461d1eada70c24a4a511bf09ae670d22e899c8 Mon Sep 17 00:00:00 2001 From: Austin Date: Sat, 16 Dec 2017 09:31:48 -0600 Subject: [PATCH] Update parametrize.rst --- doc/en/parametrize.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/en/parametrize.rst b/doc/en/parametrize.rst index 310e05d21..7bc37ae38 100644 --- a/doc/en/parametrize.rst +++ b/doc/en/parametrize.rst @@ -123,12 +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``. - -Note that due to how decorators work in python the tests actually exhaust parameters in -the order of the decorators. For example this program run in the order ``x=0/y=2``, -``x=1/y=2``, ``x=0/y=3``, 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`: