Skip to content
Myr

Update testing.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ofek Lev · committed by Ofek Lev · parent b9e4052 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:src/click/testing.py+2 added-1 removed
3 unmodified lines
4import contextlib5import io6import os7import shlex8import shutil8import sys9import tempfile10import typing as t11from types import TracebackType
557 unmodified lines
569 finally:570 os.chdir(cwd)571572 if temp_dir is None:573 import shutil574575 try:576 shutil.rmtree(dt)577 except OSError:578 pass