From bd3a77c304eecb59835e976122a35a1e88e26313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Wed, 8 Jan 2020 12:03:24 +0000 Subject: tests/artifactcache/config.py: Cast our tmpdir to a string Monkeypatch is *really* scared of non-str values. Let's calm it down. --- tests/artifactcache/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/artifactcache/config.py b/tests/artifactcache/config.py index e5e2213eb..64e6c6a30 100644 --- a/tests/artifactcache/config.py +++ b/tests/artifactcache/config.py @@ -224,7 +224,7 @@ def test_paths_for_artifact_config_are_expanded(tmpdir, monkeypatch, artifacts_c # user_config, project_config = configure_remote_caches(override_caches, project_caches, user_caches) # project_config['name'] = 'test' - monkeypatch.setenv("HOME", tmpdir.join("homedir")) + monkeypatch.setenv("HOME", str(tmpdir.join("homedir"))) if in_user_config: user_config = {"artifacts": artifacts_config} -- cgit v1.2.1