diff options
author | Tristan Daniƫl Maat <tristan.maat@codethink.co.uk> | 2020-01-08 12:03:24 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-01-08 16:10:57 +0000 |
commit | bd3a77c304eecb59835e976122a35a1e88e26313 (patch) | |
tree | aa168a16100185cdbb9d6d2dd284d0a3dc536085 | |
parent | 6a627efe8f5945231282191927fe41639908b4fe (diff) | |
download | buildstream-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.py | 2 |
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} |