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:
Ryan Roden-Corrent 2016-07-12 07:05:30 -04:00
parent cee5d6b97f
commit 9c9b367887

View File

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