We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57694cb commit e0805d0Copy full SHA for e0805d0
1 file changed
Lib/test/test_profiling/test_sampling_profiler/test_collectors.py
@@ -2702,10 +2702,7 @@ def test_gecko_opcode_state_change_emits_marker(self):
2702
collector.collect(frames2)
2703
2704
# 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)
+ self.assertGreater(collector.thread_spills[1].marker_count, 0)
2709
2710
def test_gecko_opcode_markers_not_emitted_when_disabled(self):
2711
"""Test that no opcode markers when opcodes=False."""
0 commit comments