From 3f68f25dbfbe07db7c129cdf08716487006f55fc Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 4 Aug 2013 13:46:43 -0500 Subject: remove a file that was created during a test --- tests/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests.py b/tests/tests.py index 0624119..84dc0a6 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -452,6 +452,9 @@ class TestAsmList(unittest.TestCase): self.assertEqual(len(obj), len(labels)) self.assertEqual(len(obj), 2) self.assertEqual(obj, labels) + # remove the current file + if os.path.exists(filename): + os.system("rm " + filename) def test_isolate_incbins(self): global asm -- cgit v1.2.3