Merge pull request #12434 from bluetech/register-fixture-scope-none

fixtures: change `register_fixture` to not accept `scope=None`
This commit is contained in:
Ran Benita 2024-06-07 12:11:56 +03:00 committed by GitHub
commit db67107090
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1636,7 +1636,7 @@ class FixtureManager:
func: "_FixtureFunc[object]",
nodeid: Optional[str],
scope: Union[
Scope, _ScopeName, Callable[[str, Config], _ScopeName], None
Scope, _ScopeName, Callable[[str, Config], _ScopeName]
] = "function",
params: Optional[Sequence[object]] = None,
ids: Optional[