mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
tests: PosixPath to string in chdir_tmp fixture
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ def _close_pools():
|
||||
def chdir_tmp(tmp_path):
|
||||
cwd = os.getcwd()
|
||||
try:
|
||||
os.chdir(tmp_path)
|
||||
os.chdir(str(tmp_path))
|
||||
yield
|
||||
finally:
|
||||
os.chdir(cwd)
|
||||
|
||||
Reference in New Issue
Block a user