https://github.com/python/cpython/commit/e03ed46e8016fd73657afca61d08cc9688637aad
commit: e03ed46e8016fd73657afca61d08cc9688637aad
branch: main
author: Pablo Galindo Salgado <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-09-15T01:56:17Z
summary:
gh-153568: Skip prefix tests when peg_generator is unavailable (#157534)
files:
M Lib/test/test_peg_generator/test_prefix.py
diff --git a/Lib/test/test_peg_generator/test_prefix.py
b/Lib/test/test_peg_generator/test_prefix.py
index b4d5128df0121c..fb40a1c1a4e7d9 100644
--- a/Lib/test/test_peg_generator/test_prefix.py
+++ b/Lib/test/test_peg_generator/test_prefix.py
@@ -2,6 +2,7 @@
from test import test_tools
+test_tools.skip_if_missing("peg_generator")
with test_tools.imports_under_tool("peg_generator"):
from pegen.c_generator import consuming_rules
from pegen.testutil import GrammarParser, parse_string
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]