Add missing str()

This commit is contained in:
Florian Bruhin 2018-10-24 10:10:13 +02:00
parent d299e48960
commit 77c53707ac

View File

@ -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)