Skip to content

Commit e0805d0

Browse files
committed
test
1 parent 57694cb commit e0805d0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/test/test_profiling/test_sampling_profiler/test_collectors.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,10 +2702,7 @@ def test_gecko_opcode_state_change_emits_marker(self):
27022702
collector.collect(frames2)
27032703

27042704
# Should have emitted a marker for the first opcode
2705-
thread_data = collector.threads[1]
2706-
markers = thread_data["markers"]
2707-
# At least one marker should have been added
2708-
self.assertGreater(len(markers["name"]), 0)
2705+
self.assertGreater(collector.thread_spills[1].marker_count, 0)
27092706

27102707
def test_gecko_opcode_markers_not_emitted_when_disabled(self):
27112708
"""Test that no opcode markers when opcodes=False."""

0 commit comments

Comments
 (0)