Stdlib: correct many parameter names (#9815)

This commit is contained in:
Alex Waygood
2023-03-04 09:53:12 +00:00
committed by GitHub
parent 4b755c7034
commit 257e287fec
30 changed files with 382 additions and 353 deletions

View File

@@ -48,7 +48,7 @@ else:
def __init__(self, test_case: TestCase, logger_name: str, level: int) -> None: ...
def __enter__(self) -> _LoggingWatcher: ...
def __exit__(
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
self, exc_type: type[BaseException] | None, exc_value: BaseException | None, tb: TracebackType | None
) -> bool | None: ...
if sys.version_info >= (3, 8):

View File

@@ -81,7 +81,7 @@ class _Call(tuple[Any, ...]):
from_kall: bool = True,
) -> None: ...
def __eq__(self, other: object) -> bool: ...
def __ne__(self, __other: object) -> bool: ...
def __ne__(self, __value: object) -> bool: ...
def __call__(self, *args: Any, **kwargs: Any) -> _Call: ...
def __getattr__(self, attr: str) -> Any: ...
def __getattribute__(self, attr: str) -> Any: ...
@@ -437,6 +437,6 @@ class PropertyMock(Mock):
else:
def __get__(self, obj: _T, obj_type: type[_T] | None) -> Self: ...
def __set__(self, obj: Any, value: Any) -> None: ...
def __set__(self, obj: Any, val: Any) -> None: ...
def seal(mock: Any) -> None: ...