Commit d0e0a4d9 authored by eckhart's avatar eckhart
Browse files

- xml-Bereinigungen

parent 02e79bfb
......@@ -258,10 +258,10 @@ def get_report(test_unit):
cst = tests.get('__cst__', {}).get(test_name, None)
if cst and (not ast or str(test_name).endswith('*')):
report.append('\n### CST')
if ast:
report.append('\n### AST')
for test_name, test_code in tests.get('fail', dict()).items():
heading = 'Fail-test "%s"' % test_name
report.append('\n%s\n%s\n' % (heading, '-' * len(heading)))
......@@ -605,7 +605,7 @@ def replace_parser(context: List[Node], name: str):
def flatten(context: List[Node], condition: Callable=is_anonymous, recursive: bool=True):
Flattens all children, that fulfil the given ``condition``
Flattens all children, that fulfill the given ``condition``
(default: all unnamed children). Flattening means that wherever a
node has child nodes, the child nodes are inserted in place of the
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