Skip to content

Commit f60db77

Browse files
Fix blank lines
1 parent 2e58457 commit f60db77

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Lib/test/test_perf_profiler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,21 @@ def baz():
154154
self.assertIn(f"py::foo:{script}", perf_file_contents)
155155
self.assertIn(f"py::bar:{script}", perf_file_contents)
156156
self.assertIn(f"py::baz:{script}", perf_file_contents)
157+
157158
child_perf_file_contents = perf_child_file.read_text()
158159
self.assertIn(f"py::foo_fork:{script}", child_perf_file_contents)
159160
self.assertIn(f"py::bar_fork:{script}", child_perf_file_contents)
160161
self.assertIn(f"py::baz_fork:{script}", child_perf_file_contents)
162+
161163
# The parent's map should not contain the child's symbols
162164
self.assertNotIn(f"py::foo_fork:{script}", perf_file_contents)
163165
self.assertNotIn(f"py::bar_fork:{script}", perf_file_contents)
164166
self.assertNotIn(f"py::baz_fork:{script}", perf_file_contents)
165167
# The child's map should not contain the parent's symbols
166168
self.assertNotIn(f"py::foo:{script}", child_perf_file_contents)
167169
self.assertNotIn(f"py::bar:{script}", child_perf_file_contents)
168-
self.assertNotIn(f"py::baz:{script}", child_perf_file_contents)
169-
170+
self.assertNotIn(f"py::baz:{script}", child_perf_file_contents)
171+
170172
@unittest.skipIf(support.check_bolt_optimized(), "fails on BOLT instrumented binaries")
171173
def test_sys_api(self):
172174
for define_eval_hook in (False, True):

0 commit comments

Comments
 (0)