aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-08-01 09:58:13 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-08-01 10:06:08 +0300
commit226ad6e44ddaecc763a95f179974da04b9c9fa83 (patch)
treecc5e80f25011577935b602920306bd185a1bf336 /contrib/python/pytest-lazy-fixtures/pytest_lazy_fixtures/loader.py
parentfc4a5bce8457dd4aa05f857e0fc36183245a7fff (diff)
downloadydb-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.py2
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])