Skip to content

Commit bd9aefe

Browse files
committed
nicer reading
1 parent 942d821 commit bd9aefe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/test_profiling/test_sampling_profiler/test_collectors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,8 +2633,6 @@ def test_jsonl_collector_filters_internal_frames(self):
26332633
jsonl_out = tempfile.NamedTemporaryFile(delete=False)
26342634
self.addCleanup(close_and_unlink, jsonl_out)
26352635

2636-
collector = JsonlCollector(sample_interval_usec=1000)
2637-
26382636
frames = [
26392637
MockInterpreterInfo(
26402638
0,
@@ -2652,6 +2650,7 @@ def test_jsonl_collector_filters_internal_frames(self):
26522650
)
26532651
]
26542652

2653+
collector = JsonlCollector(sample_interval_usec=1000)
26552654
collector.collect(frames)
26562655
collector.export(jsonl_out.name)
26572656

0 commit comments

Comments
 (0)