From 230d3012688dcca4920d61457cb7573db5923d30 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 25 Mar 2018 00:52:45 -0700 Subject: [PATCH] conftest: py3.5 path issue --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8e741290..14a0742e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -70,7 +70,7 @@ def spoof(tmpdir_factory, **kwargs): """ env = os.environ.copy() slug = '-'.join(v.replace('.py', '') for v in sorted(kwargs.values())) - spoofer_base = Path(tmpdir_factory.mktemp('spoofers')) + spoofer_base = Path(str(tmpdir_factory.mktemp('spoofers'))) tmpdir = spoofer_base / slug tmpdir.mkdir(parents=True)