We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4de323b commit e90dc92Copy full SHA for e90dc92
tests/test_cli.py
@@ -51,7 +51,11 @@ def test_dir(monkeypatch):
51
monkeypatch.setattr(
52
pywrangler_utils, "find_pyproject_toml", lambda: test_dir / "pyproject.toml"
53
)
54
- yield test_dir.absolute()
+
55
+ try:
56
+ yield test_dir.absolute()
57
+ finally:
58
+ shutil.rmtree(test_dir, ignore_errors=True)
59
60
61
def create_test_pyproject(test_dir: Path, dependencies=None):
0 commit comments