_pytesttester.pyi 503 B

123456789101112131415161718
  1. from collections.abc import Iterable
  2. from typing import Literal as L
  3. __all__ = ["PytestTester"]
  4. class PytestTester:
  5. module_name: str
  6. def __init__(self, module_name: str) -> None: ...
  7. def __call__(
  8. self,
  9. label: L["fast", "full"] = "fast",
  10. verbose: int = 1,
  11. extra_argv: Iterable[str] | None = None,
  12. doctests: L[False] = False,
  13. coverage: bool = False,
  14. durations: int = -1,
  15. tests: Iterable[str] | None = None,
  16. ) -> bool: ...