summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Daniƫl Maat <tristan.maat@codethink.co.uk>2020-01-08 12:03:24 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2020-01-08 16:10:57 +0000
commitbd3a77c304eecb59835e976122a35a1e88e26313 (patch)
treeaa168a16100185cdbb9d6d2dd284d0a3dc536085
parent6a627efe8f5945231282191927fe41639908b4fe (diff)
downloadbuildstream-tlater/fix-monkeypatch-warning.tar.gz
tests/artifactcache/config.py: Cast our tmpdir to a stringtlater/fix-monkeypatch-warning
Monkeypatch is *really* scared of non-str values. Let's calm it down.
-rw-r--r--tests/artifactcache/config.py2
1 files changed, 1 insertions, 1 deletions
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}