Skip to content

Commit 0c4884d

Browse files
authored
test: fix _is_perf_version_at_least typo (#124199)
1 parent 32119fc commit 0c4884d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_perf_profiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def compile_trampolines_for_all_functions():
479479
self.assertIn(line, child_perf_file_contents)
480480

481481

482-
def _is_perf_vesion_at_least(major, minor):
482+
def _is_perf_version_at_least(major, minor):
483483
# The output of perf --version looks like "perf version 6.7-3" but
484484
# it can also be perf version "perf version 5.15.143"
485485
try:
@@ -494,7 +494,7 @@ def _is_perf_vesion_at_least(major, minor):
494494

495495

496496
@unittest.skipUnless(perf_command_works(), "perf command doesn't work")
497-
@unittest.skipUnless(_is_perf_vesion_at_least(6, 6), "perf command may not work due to a perf bug")
497+
@unittest.skipUnless(_is_perf_version_at_least(6, 6), "perf command may not work due to a perf bug")
498498
class TestPerfProfilerWithDwarf(unittest.TestCase, TestPerfProfilerMixin):
499499
def run_perf(self, script_dir, script, activate_trampoline=True):
500500
if activate_trampoline:

0 commit comments

Comments
 (0)