def _cleanup(self): TestHarness._cleanup(self) output = glob.glob(os.path.join(os.getcwd(), 'summary.*')) output.append(os.path.join(os.getcwd(), 'cross_sections.out')) for f in output: if os.path.exists(f): os.remove(f)
def _cleanup(self): TestHarness._cleanup(self) output = glob.glob(os.path.join(os.getcwd(), 'track*')) output += glob.glob(os.path.join(os.getcwd(), 'poly*')) for f in output: if os.path.exists(f): os.remove(f)
def _cleanup(self): TestHarness._cleanup(self) output = glob.glob(os.path.join(os.getcwd(), 'source.*')) for f in output: if os.path.exists(f): os.remove(f)
def _cleanup(self): TestHarness._cleanup(self) output = glob.glob('track*') + glob.glob('poly*') for f in output: if os.path.exists(f): os.remove(f)