diff options
Diffstat (limited to 'third_party/python/pytest/bench/manyparam.py')
-rw-r--r-- | third_party/python/pytest/bench/manyparam.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/python/pytest/bench/manyparam.py b/third_party/python/pytest/bench/manyparam.py new file mode 100644 index 0000000000..a25b098de8 --- /dev/null +++ b/third_party/python/pytest/bench/manyparam.py @@ -0,0 +1,15 @@ + +import pytest + + +@pytest.fixture(scope="module", params=range(966)) +def foo(request): + return request.param + + +def test_it(foo): + pass + + +def test_it2(foo): + pass |