fixtures: change `register_fixture` to not accept `scope=None`
There is no reason to allow this.
This commit is contained in:
parent
0070151c63
commit
c9d8765381
|
@ -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[
|
||||
|
|
Loading…
Reference in New Issue