tests: PosixPath to string in chdir_tmp fixture

This commit is contained in:
Mr. Outis
2019-09-06 12:57:06 -05:00
parent 73133e8c7a
commit dd1d5bdbb0
+1 -1
View File
@@ -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)