fixtures: change register_fixture to not accept scope=None
There is no reason to allow this.
This commit is contained in:
@@ -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[
|
||||
|
||||
Reference in New Issue
Block a user