Skip to content

Commit db7ca51

Browse files
committed
Fix python format.
1 parent cf59f1a commit db7ca51

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

lldb/test/API/functionalities/json/object-file/TestObjectFileJSON.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,11 @@ def test_module(self):
9898
"type": "data",
9999
"address": bar_file_addr,
100100
"size": bar_size,
101-
}
102-
101+
},
103102
],
104103
}
105104

106105
json_object_file_c = self.getBuildArtifact("c.json")
107-
print('EXE = %s' % (json_object_file_c))
108106
self.emitJSON(data, json_object_file_c)
109107

110108
module = target.AddModule(self.toModuleSpec(json_object_file_c))
@@ -132,13 +130,9 @@ def test_module(self):
132130
self.assertEqual(bar_symbol.addr.GetFileAddress(), bar_file_addr)
133131
self.assertEqual(bar_symbol.GetSize(), bar_size)
134132

135-
error = target.SetSectionLoadAddress(text_section,
136-
TEXT_file_addr + slide)
133+
error = target.SetSectionLoadAddress(text_section, TEXT_file_addr + slide)
137134
self.assertSuccess(error)
138-
error = target.SetSectionLoadAddress(data_section,
139-
DATA_file_addr + slide)
135+
error = target.SetSectionLoadAddress(data_section, DATA_file_addr + slide)
140136
self.assertSuccess(error)
141-
self.assertEqual(foo_symbol.addr.GetLoadAddress(target),
142-
foo_file_addr + slide)
143-
self.assertEqual(bar_symbol.addr.GetLoadAddress(target),
144-
bar_file_addr + slide)
137+
self.assertEqual(foo_symbol.addr.GetLoadAddress(target), foo_file_addr + slide)
138+
self.assertEqual(bar_symbol.addr.GetLoadAddress(target), bar_file_addr + slide)

0 commit comments

Comments
 (0)