pytest2/testing/python
Ran Benita 03451c397f Simplify positional arguments compatibility code in pytest.fixture()
The dynamic scope feature added in 10bf6aac76
necessitated some wrangling of arguments in pytest.fixture(). In
particular, it deprecated positional arguments in favor of keyword-only
arguments, while keeping backward compatibility.

The way it did this avoided some code duplication but ended up being
quite hard to follow and to annotate with types.

Replace it with some straightforward code, which is not very DRY but is
simple and easy to remove when the time comes.
2020-04-02 14:52:58 +03:00
..
approx.py tests: test_unicode_plus_minus: use unicode sign directly (#6727) 2020-02-14 02:16:25 +01:00
collect.py Use a hack to make typing of pytest.fail.Exception & co work 2020-02-18 23:17:27 +02:00
fixtures.py Simplify positional arguments compatibility code in pytest.fixture() 2020-04-02 14:52:58 +03:00
integration.py deprecate direct node construction and introduce Node.from_parent 2019-11-23 21:54:11 +01:00
metafunc.py Use a hack to make typing of pytest.fail.Exception & co work 2020-02-18 23:17:27 +02:00
raises.py Handle `match` with `pytest.raises()` (#6753) 2020-02-22 23:32:55 +01:00
show_fixtures_per_test.py Use new no-match functions to replace previous idiom 2019-10-06 18:05:24 -03:00