From 77c53707ac46b145a747d7b7dd454cfcf24658c0 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 24 Oct 2018 10:10:13 +0200 Subject: [PATCH] Add missing str() --- tests/unit/utils/test_standarddir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/utils/test_standarddir.py b/tests/unit/utils/test_standarddir.py index b9777f670..d337b39de 100644 --- a/tests/unit/utils/test_standarddir.py +++ b/tests/unit/utils/test_standarddir.py @@ -186,7 +186,7 @@ class TestStandardDir: tmpdir_env = tmpdir / 'temp' tmpdir_env.ensure(dir=True) monkeypatch.setenv('XDG_RUNTIME_DIR', str(tmpdir / 'does-not-exist')) - monkeypatch.setenv('TMPDIR', tmpdir_env) + monkeypatch.setenv('TMPDIR', str(tmpdir_env)) standarddir._init_dirs() assert standarddir.runtime() == str(tmpdir_env / APPNAME)