Add missing str()
This commit is contained in:
parent
d299e48960
commit
77c53707ac
@ -186,7 +186,7 @@ class TestStandardDir:
|
|||||||
tmpdir_env = tmpdir / 'temp'
|
tmpdir_env = tmpdir / 'temp'
|
||||||
tmpdir_env.ensure(dir=True)
|
tmpdir_env.ensure(dir=True)
|
||||||
monkeypatch.setenv('XDG_RUNTIME_DIR', str(tmpdir / 'does-not-exist'))
|
monkeypatch.setenv('XDG_RUNTIME_DIR', str(tmpdir / 'does-not-exist'))
|
||||||
monkeypatch.setenv('TMPDIR', tmpdir_env)
|
monkeypatch.setenv('TMPDIR', str(tmpdir_env))
|
||||||
|
|
||||||
standarddir._init_dirs()
|
standarddir._init_dirs()
|
||||||
assert standarddir.runtime() == str(tmpdir_env / APPNAME)
|
assert standarddir.runtime() == str(tmpdir_env / APPNAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user