diff options
author | Austin <Austin.W.Briggs@gmail.com> | 2017-12-16 09:31:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-16 09:31:48 -0600 |
commit | 70461d1eada70c24a4a511bf09ae670d22e899c8 (patch) | |
tree | c813eebc5c07b2d5e9513f533b808c63755dc064 | |
parent | 73eccb4c3676ca70bff9e69394dfd425d286ff65 (diff) | |
download | pytest-70461d1eada70c24a4a511bf09ae670d22e899c8.tar.gz |
Update parametrize.rst
-rw-r--r-- | doc/en/parametrize.rst | 8 |
1 files 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`: |