We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7ccf0 commit 851f12cCopy full SHA for 851f12c
Lib/test/test_perf_profiler.py
@@ -24,14 +24,12 @@
24
25
26
def is_jit_build():
27
- cflags = sysconfig.get_config_var("PY_CORE_CFLAGS")
28
- if not cflags:
29
- return False
+ cflags = (sysconfig.get_config_var("PY_CORE_CFLAGS") or '')
30
return "_Py_JIT" in cflags
31
32
33
if is_jit_build():
34
- raise unittest.SkipTest("Perf support is not available in jit builds")
+ raise unittest.SkipTest("Perf support is not available in JIT builds")
35
36
37
def supports_trampoline_profiling():
0 commit comments