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:
47
47
for file in files_to_delete:
48
48
file.unlink()
49
49
50
- @unittest.skipIf(support.check_bolt_optimized, "fails on BOLT instrumented binaries")
50
+ @unittest.skipIf(support.check_bolt_optimized() , "fails on BOLT instrumented binaries")
51
51
def test_trampoline_works(self):
52
52
code = """if 1:
53
53
def foo():
@@ -101,7 +101,7 @@ def baz():
101
101
"Address should contain only hex characters",
102
102
)
103
103
104
- @unittest.skipIf(support.check_bolt_optimized, "fails on BOLT instrumented binaries")
104
+ @unittest.skipIf(support.check_bolt_optimized() , "fails on BOLT instrumented binaries")
105
105
def test_trampoline_works_with_forks(self):
106
106
code = """if 1:
107
107
import os, sys
@@ -162,7 +162,7 @@ def baz():
162
162
self.assertIn(f"py::bar_fork:{script}", child_perf_file_contents)
163
163
self.assertIn(f"py::baz_fork:{script}", child_perf_file_contents)
164
164
165
- @unittest.skipIf(support.check_bolt_optimized, "fails on BOLT instrumented binaries")
165
+ @unittest.skipIf(support.check_bolt_optimized() , "fails on BOLT instrumented binaries")
166
166
def test_sys_api(self):
167
167
code = """if 1:
168
168
import sys
You can’t perform that action at this time.
0 commit comments