Skip to content

Commit 36ab011

Browse files
Fix tests
1 parent cd8f412 commit 36ab011

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_profiling/test_sampling_profiler/test_collectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def test_flamegraph_collector_export(self):
571571
self.assertIn('"value":', content)
572572
self.assertIn('"children":', content)
573573
self.assertIn('"sample_interval_usec": 10000', content)
574-
self.assertIn("samples * sampleIntervalUsec / 1000", content)
574+
self.assertIn("samples * data.stats.sample_interval_usec / 1000", content)
575575

576576
def test_flamegraph_collector_empty_export_fails(self):
577577
"""Test empty flamegraph export reports no output."""

0 commit comments

Comments
 (0)