From 06fc2978e6c80d464334778350c09a393f3f69b1 Mon Sep 17 00:00:00 2001 From: Matteo Bachetti Date: Fri, 2 Feb 2024 11:32:14 +0100 Subject: [PATCH] Still more cleanup --- hendrics/tests/test_fspec.py | 3 +++ 1 file changed, 3 insertions(+) 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(