Skip to content

Commit d89981e

Browse files
committed
fix: teardown the named directory
* the process stucks when lots of the files in the named directory
1 parent 239e01e commit d89981e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ def named_temp_repo(request):
2929
dirname = request.param
3030
repo = create_repo(dirname)
3131
init_repo_git_status(repo)
32-
return repo
32+
yield repo
33+
repo.teardown()

0 commit comments

Comments
 (0)