mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Mark pytest-lazy-fixture as completed (#9229)
This commit is contained in:
12
stubs/pytest-lazy-fixture/@tests/stubtest_allowlist.txt
Normal file
12
stubs/pytest-lazy-fixture/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
# Part of the pytest API, which is internal:
|
||||
pytest_lazyfixture.pytest_.*
|
||||
|
||||
# Internal undocumented API:
|
||||
pytest_lazyfixture.fillfixtures
|
||||
pytest_lazyfixture.normalize_call
|
||||
pytest_lazyfixture.normalize_metafunc_calls
|
||||
pytest_lazyfixture.sorted_by_dependency
|
||||
pytest_lazyfixture.copy_metafunc
|
||||
|
||||
# Compat:
|
||||
pytest_lazyfixture.PY3
|
||||
@@ -1 +1,4 @@
|
||||
version = "0.6.*"
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from typing import Any, overload
|
||||
from typing_extensions import TypeGuard
|
||||
|
||||
class LazyFixture:
|
||||
name: str
|
||||
@@ -11,6 +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: Any) -> bool: ...
|
||||
def pytest_configure() -> None: ...
|
||||
def __getattr__(name: str) -> Incomplete: ...
|
||||
def is_lazy_fixture(val: object) -> TypeGuard[LazyFixture]: ...
|
||||
|
||||
Reference in New Issue
Block a user