From 2fdee7b062134e938d9e335f5534a3640b493ef9 Mon Sep 17 00:00:00 2001 From: Warren Date: Sun, 17 Mar 2024 16:27:15 +1100 Subject: [PATCH] refactor: utilise existing FixtureDef import --- src/_pytest/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/python.py b/src/_pytest/python.py index 3242d517e..8e5bc3703 100644 --- a/src/_pytest/python.py +++ b/src/_pytest/python.py @@ -1482,7 +1482,7 @@ class Metafunc: def _find_parametrized_scope( argnames: Sequence[str], - arg2fixturedefs: Mapping[str, Sequence[fixtures.FixtureDef[object]]], + arg2fixturedefs: Mapping[str, Sequence[FixtureDef[object]]], indirect: Union[bool, Sequence[str]], ) -> Scope: """Find the most appropriate scope for a parametrized call based on its arguments.