diff options
author | robot-piglet <[email protected]> | 2025-07-31 11:14:11 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-07-31 12:10:37 +0300 |
commit | e177928be72df9669dbb830824b4233a33c8723f (patch) | |
tree | a91d4ec6bbe7dc221c049475a91255c2996fd84e /contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py | |
parent | a1700abf3c749b43117e757deb259d2a7bcdf46a (diff) |
Intermediate changes
commit_hash:60aaacde4a6a0fb68b6435d7f100365d0c77d64d
Diffstat (limited to 'contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py')
-rw-r--r-- | contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py b/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py index 47e1d474d99..982176c02db 100644 --- a/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py +++ b/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/fixture_collector.py @@ -12,7 +12,7 @@ def collect_fixtures(config: pytest.Config, items: list[pytest.Item]): for marker in item.own_markers: if marker.name != "parametrize": continue - params = marker.args[1] + params = marker.args[1] if len(marker.args) > 1 else marker.kwargs["argvalues"] arg2fixturedefs = {} for param in params: _, _arg2fixturedefs = get_fixturenames_closure_and_arg2fixturedefs(fm, item.parent, param) |