4
0
mirror of https://github.com/QuasarApp/LIEF.git synced 2025-05-04 08:09:33 +00:00

Remove useless 'remove'

This commit is contained in:
Romain Thomas 2018-06-27 16:09:51 +02:00
parent d7582fcab9
commit c3f99aebda

@ -45,9 +45,6 @@ class TestMachOBuilder(TestCase):
self.check_consistency(original, modified)
if os.path.isfile(output):
os.remove(output)
def check_consistency(self, original, modified):
# Header
self.assertEqual(original.header, modified.header)
@ -236,9 +233,6 @@ class TestLibraryInjection(TestCase):
return
logger = logging.getLogger(__name__)
if os.path.isfile(output):
os.remove(output)
extra_flags = extra_flags if extra_flags else []
_, srcpath = tempfile.mkstemp(prefix="libexample_", suffix=".c")