1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/main/py3-parsing/skip-railroad.patch

13 lines
345 B
Diff

--- a/tests/test_examples.py
+++ b/tests/test_examples.py
@@ -56,6 +56,10 @@
self._run("lucene_grammar")
def test_range_check(self):
+ try:
+ import railroad
+ except ModuleNotFoundError:
+ self.skipTest("no diagram/railroad")
self._run("range_check")
def test_stackish(self):