Skip to content

Commit 40d864c

Browse files
authored
Apply suggestion from @pablogsal
1 parent 9b0135b commit 40d864c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_profiling/test_sampling_profiler/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ def test_all_stacks_share_same_base_frame(self):
951951
samples_with_entry_point += count
952952
else:
953953
samples_without_entry_point += count
954-
print([frame[2] for frame in call_tree])
954+
raise ValueError([frame[2] for frame in call_tree])
955955

956956
self.assertGreater(total_samples, 100,
957957
f"Expected at least 100 samples, got {total_samples}")

0 commit comments

Comments
 (0)