Commit 4bc268e0 authored by di68kap's avatar di68kap
Browse files

- minimale korrekturen

parent 650c942e
......@@ -10,8 +10,8 @@ if __name__ == "__main__":
# print("Running nosetests:")
# os.system("nosetests test")
interpreters = ['python ', 'pypy3 ', 'python37 ']
# interpreters = [r'C:\Users\di68kap\AppData\Local\Programs\Python\Python37-32\python.exe ']
# interpreters = ['python ', 'pypy3 ', 'python37 ']
interpreters = [r'C:\Users\di68kap\AppData\Local\Programs\Python\Python37-32\python.exe ']
for interpreter in interpreters:
os.system(interpreter + '--version')
......
......@@ -226,7 +226,7 @@ class TestComplexTransformations:
<SEITENZAHL>18</SEITENZAHL>
</Stelle>"""
tree = parse_xml(xml)
print(flatten_sxpr(tree.as_sxpr()))
# print(flatten_sxpr(tree.as_sxpr()))
collapse_if([tree], lambda context: context[-1].tag_name != 'HOCHGESTELLT', self.Text)
assert tree.as_xml(inline_tags={'Stelle'}) == \
"<Stelle><Text>p.26</Text><HOCHGESTELLT>b</HOCHGESTELLT><Text>,18</Text></Stelle>"
......
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