diff --git a/supervisor/tests/test_options.py b/supervisor/tests/test_options.py index c9cf73a48..87680ae5b 100644 --- a/supervisor/tests/test_options.py +++ b/supervisor/tests/test_options.py @@ -1608,6 +1608,11 @@ def _makeOne(self, *arg, **kw): defaults.update(kw) return self._getTargetClass()(*arg, **defaults) + def tearDown(self): + for fn in ('stdout_logfile', 'stderr_logfile'): + if os.path.exists(fn): + os.remove(fn) + def test_create_autochildlogs(self): options = DummyOptions() instance = self._makeOne(options)