diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-04 13:46:43 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-04 13:46:43 -0500 |
commit | 3f68f25dbfbe07db7c129cdf08716487006f55fc (patch) | |
tree | da7b653b9f4cbf8675b669427b32b0b5357cc567 /tests | |
parent | 09ac98ba7a10a2cfd0e7ec46a7e280062df991e4 (diff) |
remove a file that was created during a test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.py | 3 |
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 |