Skip to content

Commit

Permalink
is_lazy_fixture in pytest-lazy-fixture is a TypeIs function (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jul 6, 2024
1 parent 0fc33ac commit 99c1b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/pytest-lazy-fixture/pytest_lazyfixture.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from collections.abc import Iterable
from typing import Any, overload
from typing_extensions import TypeGuard
from typing_extensions import TypeIs

class LazyFixture:
name: str
Expand All @@ -11,4 +11,4 @@ class LazyFixture:
def lazy_fixture(names: str) -> LazyFixture: ...
@overload
def lazy_fixture(names: Iterable[str]) -> list[LazyFixture] | Any: ...
def is_lazy_fixture(val: object) -> TypeGuard[LazyFixture]: ...
def is_lazy_fixture(val: object) -> TypeIs[LazyFixture]: ...

0 comments on commit 99c1b71

Please sign in to comment.