@@ -140,6 +140,10 @@ def setUp(self):
140
140
141
141
def tearDown (self ):
142
142
self .td .__exit__ (None , None , None )
143
+ # sometimes this crumb is being left, let's delete it
144
+ crumb = os .path .join (PROJECT_ROOT , "armiRun.h5" )
145
+ if os .path .exists (crumb ):
146
+ os .remove (crumb )
143
147
144
148
def test_writeSystemAttributes (self ):
145
149
"""Test the writeSystemAttributes method.
@@ -332,6 +336,10 @@ def tearDownClass(cls):
332
336
cls .td .__exit__ (None , None , None )
333
337
del cls .r
334
338
cls .r = None
339
+ # sometimes this crumb is being left, let's delete it
340
+ crumb = os .path .join (PROJECT_ROOT , "armiRun.h5" )
341
+ if os .path .exists (crumb ):
342
+ os .remove (crumb )
335
343
336
344
def _fullCoreSizeChecker (self , r ):
337
345
self .assertEqual (r .core .numRings , 3 )
@@ -538,3 +546,8 @@ def test_standardRestart(self):
538
546
firstEndTime , o .r .p .time
539
547
),
540
548
)
549
+
550
+ # sometimes this crumb is being left, let's delete it
551
+ crumb = os .path .join (PROJECT_ROOT , "armiRun.h5" )
552
+ if os .path .exists (crumb ):
553
+ os .remove (crumb )
0 commit comments