Drop old branches in stdlib/3/os/path.pyi (#4878)

* Drop support for Python 3.5 in stdlib/3/os/path.pyi

* Remove more obsolete branches
This commit is contained in:
Sebastian Rittau
2020-12-30 21:41:09 +01:00
committed by GitHub
parent 4141dd1176
commit 91582e6921
9 changed files with 188 additions and 311 deletions

View File

@@ -107,10 +107,7 @@ class NonCallableMock(Base, Any): # type: ignore
elif sys.version_info >= (3, 6):
def assert_called(_mock_self) -> None: ...
def assert_called_once(_mock_self) -> None: ...
if sys.version_info >= (3, 6):
def reset_mock(self, visited: Any = ..., *, return_value: bool = ..., side_effect: bool = ...) -> None: ...
elif sys.version_info >= (3, 5):
def reset_mock(self, visited: Any = ...) -> None: ...
def reset_mock(self, visited: Any = ..., *, return_value: bool = ..., side_effect: bool = ...) -> None: ...
if sys.version_info >= (3, 7):
def _extract_mock_name(self) -> str: ...
def _get_call_signature_from_name(self, name: str) -> Any: ...