Skip to content

Commit ed2fbf6

Browse files
committed
gh-153568: Skip prefix tests when peg_generator is unavailable
1 parent 89fe985 commit ed2fbf6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_peg_generator/test_prefix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from test import test_tools
44

5+
test_tools.skip_if_missing("peg_generator")
56
with test_tools.imports_under_tool("peg_generator"):
67
from pegen.c_generator import consuming_rules
78
from pegen.testutil import GrammarParser, parse_string

0 commit comments

Comments
 (0)