summaryrefslogtreecommitdiff
path: root/tests/tests.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-08-04 13:46:43 -0500
committerBryan Bishop <kanzure@gmail.com>2013-08-04 13:46:43 -0500
commit3f68f25dbfbe07db7c129cdf08716487006f55fc (patch)
treeda7b653b9f4cbf8675b669427b32b0b5357cc567 /tests/tests.py
parent09ac98ba7a10a2cfd0e7ec46a7e280062df991e4 (diff)
remove a file that was created during a test
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