remove a file that was created during a test

This commit is contained in:
Bryan Bishop
2013-08-04 13:46:43 -05:00
parent 09ac98ba7a
commit 3f68f25dbf

View File

@@ -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