Skip to content

Commit 0518bff

Browse files
committed
Keep the avg_solibs_added_per_event name correct.
1 parent 3f91eca commit 0518bff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_launch_notifications(self):
117117
# program: a.out and dyld, and then all the rest of the system libraries.
118118
# On Linux we get events for ld.so, [vdso], the binary and then all libraries.
119119

120-
avg_solibs_added_per_event = round(
121-
10.0 * float(total_solibs_added) / float(total_modules_added_events)
120+
avg_solibs_added_per_event = float(total_solibs_added) / float(
121+
total_modules_added_events
122122
)
123-
self.assertGreater(avg_solibs_added_per_event, 10)
123+
self.assertGreater(round(10.0 * avg_solibs_added_per_event), 10)

0 commit comments

Comments
 (0)