From dd1d5bdbb0a6eff23f113334daea57b8410cc616 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 6 Sep 2019 12:57:06 -0500 Subject: [PATCH] tests: PosixPath to string in chdir_tmp fixture --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)