8000
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 a9107fe commit 03007baCopy full SHA for 03007ba
Lib/test/test_peg_generator/test_c_parser.py
@@ -13,9 +13,7 @@
13
from test.support import os_helper, import_helper
14
from test.support.script_helper import assert_python_ok
15
16
-_py_cflags_nodist = sysconfig.get_config_var("PY_CFLAGS_NODIST")
17
-_pgo_flag = sysconfig.get_config_var("PGO_PROF_USE_FLAG")
18
-if _pgo_flag and _py_cflags_nodist and _pgo_flag in _py_cflags_nodist:
+if support.check_cflags_pgo():
19
raise unittest.SkipTest("peg_generator test disabled under PGO build")
20
21
test_tools.skip_if_missing("peg_generator")
0 commit comments