Minor cleanups after last pull request
authorEli Bendersky <eliben@gmail.com>
Wed, 8 Jan 2014 13:57:43 +0000 (05:57 -0800)
committerEli Bendersky <eliben@gmail.com>
Wed, 8 Jan 2014 13:57:43 +0000 (05:57 -0800)
test/test_double_dynstr_section.py

index c907928063e80758c43b0cbbc9df8f4dd6985bd3..307855446174f022aa32b34d856a5ca4739f1fde 100644 (file)
@@ -10,8 +10,7 @@ except ImportError:
     import unittest
 import os
 
-from utils import setup_syspath
-setup_syspath()
+from utils import setup_syspath; setup_syspath()
 from elftools.elf.elffile import ELFFile
 from elftools.elf.dynamic import DynamicSection, DynamicTag
 
@@ -32,7 +31,6 @@ class TestDoubleDynstrSections(unittest.TestCase):
 
         with open(os.path.join('test', 'testfiles_for_unittests', testfile),
                   'rb') as f:
-
             elf = ELFFile(f)
             for section in elf.iter_sections():
                 if isinstance(section, DynamicSection):
@@ -43,7 +41,6 @@ class TestDoubleDynstrSections(unittest.TestCase):
                             TestDoubleDynstrSections.reference_data,
                             d_tags)
                     return
-                
             self.fail('No dynamic section found !!')