diff --git a/cookiecutter/main.py b/cookiecutter/main.py index ac682591c..347e5d6a8 100644 --- a/cookiecutter/main.py +++ b/cookiecutter/main.py @@ -208,6 +208,5 @@ def __enter__(self) -> None: self._path = copy(sys.path) sys.path.append(self._repo_dir) - def __exit__(self, _type, _value, _traceback): # type: ignore[no-untyped-def] sys.path = self._path