File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def tearDown(self) -> None:
4747 for file in files_to_delete :
4848 file .unlink ()
4949
50- @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
50+ @unittest .skipIf (support .check_bolt_optimized () , "fails on BOLT instrumented binaries" )
5151 def test_trampoline_works (self ):
5252 code = """if 1:
5353 def foo():
@@ -101,7 +101,7 @@ def baz():
101101 "Address should contain only hex characters" ,
102102 )
103103
104- @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
104+ @unittest .skipIf (support .check_bolt_optimized () , "fails on BOLT instrumented binaries" )
105105 def test_trampoline_works_with_forks (self ):
106106 code = """if 1:
107107 import os, sys
@@ -162,7 +162,7 @@ def baz():
162162 self .assertIn (f"py::bar_fork:{ script } " , child_perf_file_contents )
163163 self .assertIn (f"py::baz_fork:{ script } " , child_perf_file_contents )
164164
165- @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
165+ @unittest .skipIf (support .check_bolt_optimized () , "fails on BOLT instrumented binaries" )
166166 def test_sys_api (self ):
167167 code = """if 1:
168168 import sys
You can’t perform that action at this time.
0 commit comments