Improve many __(a)exit__ annotations (#9696)

This commit is contained in:
Avasam
2023-02-25 16:50:30 -05:00
committed by GitHub
parent db821101b8
commit 52ec44fa58
45 changed files with 216 additions and 81 deletions

View File

@@ -65,7 +65,7 @@ class MockedProgram(CustomSearchPath):
program_signal_file: Any
def __init__(self, name, returncode: int = ..., script: Incomplete | None = ...) -> None: ...
def __enter__(self): ...
def __exit__(self, *args, **kw): ...
def __exit__(self, *args: object, **kw: object): ...
class CaptureOutput(ContextManager):
stdin: Any