diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-01 09:58:13 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-01 10:06:08 +0300 |
commit | 226ad6e44ddaecc763a95f179974da04b9c9fa83 (patch) | |
tree | cc5e80f25011577935b602920306bd185a1bf336 /contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py | |
parent | fc4a5bce8457dd4aa05f857e0fc36183245a7fff (diff) | |
download | ydb-226ad6e44ddaecc763a95f179974da04b9c9fa83.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py')
-rw-r--r-- | contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py b/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py index 3c675c2aaf..d2d39ff4f8 100644 --- a/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py +++ b/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py @@ -14,7 +14,7 @@ def load_lazy_fixtures(value, request: pytest.FixtureRequest): return value.load_fixture(request) # we need to check exact type if type(value) is dict: # noqa: E721 - return {key: load_lazy_fixtures(value, request) for key, value in value.items()} + return {load_lazy_fixtures(key, request): load_lazy_fixtures(value, request) for key, value in value.items()} # we need to check exact type elif type(value) in {list, tuple, set}: return type(value)([load_lazy_fixtures(value, request) for value in value]) |