Completely prevent tests from creating cachedir.
Attempting to fix the test on windows caused it to create the cachedir again. The call to init(None) was unnecessary.
This commit is contained in:
parent
cee5d6b97f
commit
9c9b367887
@ -287,7 +287,6 @@ class TestCreatingDir:
|
||||
basedir = tmpdir / 'basedir'
|
||||
assert not basedir.exists()
|
||||
args = types.SimpleNamespace(basedir=str(basedir))
|
||||
standarddir.init(None)
|
||||
standarddir.init(args)
|
||||
|
||||
func = getattr(standarddir, typ)
|
||||
|
Loading…
Reference in New Issue
Block a user