Skip to content

Commit

Permalink
Use _permissive_temp_dir in more places.
Browse files Browse the repository at this point in the history
  • Loading branch information
FuegoFro committed Jul 16, 2021
1 parent b28c667 commit 42433aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def small_fake_vcs_ireq(request, from_editable, from_line):
not (eg with `git+` or just a bare `file:`) and can be editable or not.
"""
editable = request.param == "editable"
with _permissive_temp_dir() as repo_dir, TemporaryDirectory() as source_dir:
with _permissive_temp_dir() as repo_dir, _permissive_temp_dir() as source_dir:

def git(cmd: str, **kwargs: Any) -> subprocess.CompletedProcess:
"""Helper to run git commands in the temp repo."""
Expand Down

0 comments on commit 42433aa

Please sign in to comment.