diff --git a/hendrics/tests/test_fspec.py b/hendrics/tests/test_fspec.py index ba4f0e84..1053987e 100644 --- a/hendrics/tests/test_fspec.py +++ b/hendrics/tests/test_fspec.py @@ -134,6 +134,9 @@ def setup_class(cls): cls.ev_fileB = os.path.join( cls.datadir, "monol_testB_nustar_fpmb_ev" + HEN_FILE_EXTENSION ) + for fname in [cls.ev_fileA, cls.ev_fileB]: + if os.path.exists(fname): + os.unlink(fname) cls.par = _dummy_par("bubububu.par") command = "{0} {1}".format(