mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-05-09 10:19:34 +00:00
Remove useless 'remove'
This commit is contained in:
parent
d7582fcab9
commit
c3f99aebda
@ -45,9 +45,6 @@ class TestMachOBuilder(TestCase):
|
|||||||
|
|
||||||
self.check_consistency(original, modified)
|
self.check_consistency(original, modified)
|
||||||
|
|
||||||
if os.path.isfile(output):
|
|
||||||
os.remove(output)
|
|
||||||
|
|
||||||
def check_consistency(self, original, modified):
|
def check_consistency(self, original, modified):
|
||||||
# Header
|
# Header
|
||||||
self.assertEqual(original.header, modified.header)
|
self.assertEqual(original.header, modified.header)
|
||||||
@ -236,9 +233,6 @@ class TestLibraryInjection(TestCase):
|
|||||||
return
|
return
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
if os.path.isfile(output):
|
|
||||||
os.remove(output)
|
|
||||||
|
|
||||||
extra_flags = extra_flags if extra_flags else []
|
extra_flags = extra_flags if extra_flags else []
|
||||||
_, srcpath = tempfile.mkstemp(prefix="libexample_", suffix=".c")
|
_, srcpath = tempfile.mkstemp(prefix="libexample_", suffix=".c")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user