Commit 9962e185 authored by Taddeus Kroes's avatar Taddeus Kroes

Modified test application not to execute implicit rules.

parent 746d7957
...@@ -110,7 +110,9 @@ def apply_expressions(base_class, expressions, fail=True, silent=False, ...@@ -110,7 +110,9 @@ def apply_expressions(base_class, expressions, fail=True, silent=False,
for exp, times, out in expressions: for exp, times, out in expressions:
res = None res = None
try: try:
res = parser.run([exp] + list('@' * times)) parser.run([exp])
parser.parser.rewrite(check_implicit=False)
res = parser.parser.root_node
assert res == out assert res == out
except: # pragma: nocover except: # pragma: nocover
if not silent: if not silent:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment