summaryrefslogtreecommitdiff
path: root/tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.py')
-rw-r--r--tests/tests.py3
1 files changed, 3 insertions, 0 deletions
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