diff --git a/tests/conftest.py b/tests/conftest.py index 62355b02c..d5851b6a7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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)