Some whitespace fixes
authorEli Bendersky <eliben@gmail.com>
Tue, 9 Jan 2018 14:56:24 +0000 (06:56 -0800)
committerEli Bendersky <eliben@gmail.com>
Tue, 9 Jan 2018 14:56:24 +0000 (06:56 -0800)
elftools/elf/elffile.py
test/test_dwarf_range_lists.py
test/test_gnuversions.py
test/test_mips_support.py

index 815e941ab7f56806668eb28ff4363c822433fb63..354088b8854319d7017faf045f0d088e087d48cc 100644 (file)
@@ -207,7 +207,6 @@ class ELFFile(object):
                 debug_ranges_sec=debug_sections[debug_ranges_sec_name],
                 debug_line_sec=debug_sections[debug_line_sec_name])
 
-
     def get_machine_arch(self):
         """ Return the machine architecture, as detected from the ELF header.
             Not all architectures are supported at the moment.
index cde2d8b4549a4df86e32e707e4fff47d5c7d8eb9..da765077c0b991f44914c91e0b4d8853820acce6 100644 (file)
@@ -9,6 +9,7 @@ import unittest
 
 from elftools.elf.elffile import ELFFile
 
+
 class TestRangeLists(unittest.TestCase):
     # Test the absence of .debug_ranges section
     def test_range_list_absence(self):
@@ -26,5 +27,6 @@ class TestRangeLists(unittest.TestCase):
             self.assertTrue(elffile.has_dwarf_info())
             self.assertIsNotNone(elffile.get_dwarf_info().range_lists())
 
+
 if __name__ == '__main__':
     unittest.main()
index 5b6fc1c7cc9f283dba160938195738aa0682650d..54b047c3c9de1c1e00a9806a92c22ddd76833fd1 100644 (file)
@@ -151,5 +151,6 @@ class TestSymbolVersioning(unittest.TestCase):
                         verdaux_iter, ref_verdef['verdaux']):
                     self.assertEqual(verdaux.name, ref_verdaux['name'])
 
+
 if __name__ == '__main__':
     unittest.main()
index 9430ce4eb15d75739c777af5b83a67d389a92dc9..0cd37208ff416593018809bd778415a473b984d7 100644 (file)
@@ -9,6 +9,7 @@ import os
 
 from elftools.elf.elffile import ELFFile
 
+
 class TestMIPSSupport(unittest.TestCase):
     def test_hello(self):
         with open(os.path.join('test', 'testfiles_for_unittests',
@@ -21,5 +22,6 @@ class TestMIPSSupport(unittest.TestCase):
             self.assertEqual(elf.num_sections(), 25)
             self.assertEqual(elf.num_segments(), 0)
 
+
 if __name__ == '__main__':
     unittest.main()