Remove noop_context

This commit is contained in:
Anthony Sottile 2020-01-12 12:08:56 -08:00
parent 2a9893d0f0
commit 49cf490697
2 changed files with 9 additions and 13 deletions

View file

@ -40,11 +40,6 @@ def clean_path_on_failure(path: str) -> Generator[None, None, None]:
raise
@contextlib.contextmanager
def noop_context() -> Generator[None, None, None]:
yield
@contextlib.contextmanager
def tmpdir() -> Generator[str, None, None]:
"""Contextmanager to create a temporary directory. It will be cleaned up