only clean up if _testing file exists
parent
316ead577d
commit
9acbfacd4c
|
@ -36,6 +36,7 @@ log = get_logger(__name__)
|
||||||
def paper_cleanup():
|
def paper_cleanup():
|
||||||
yield
|
yield
|
||||||
app_dir = get_app_dir('piker')
|
app_dir = get_app_dir('piker')
|
||||||
|
if os.path.isfile(app_dir)
|
||||||
rmtree(app_dir)
|
rmtree(app_dir)
|
||||||
assert not os.path.isfile(app_dir)
|
assert not os.path.isfile(app_dir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue