Commit eeec4fb9 authored by Eckhart Arnold's avatar Eckhart Arnold

test_dhparser.py: call python3

parent 092ffc22
......@@ -45,9 +45,9 @@ class TestDHParserCommandLineTool:
def test_dhparser(self):
nulldevice = " >/dev/null" if platform.system() != "Windows" else " > NUL"
os.system('python ../scripts/dhparser.py testdata/neu ' + nulldevice)
os.system('python testdata/neu/tst_neu_grammar.py ' + nulldevice)
os.system('python testdata/neu/neuCompiler.py testdata/neu/example.dsl '
os.system('python3 ../scripts/dhparser.py testdata/neu ' + nulldevice)
os.system('python3 testdata/neu/tst_neu_grammar.py ' + nulldevice)
os.system('python3 testdata/neu/neuCompiler.py testdata/neu/example.dsl '
'>testdata/neu/example.xml')
with open('testdata/neu/example.xml', 'r', encoding='utf-8') as f:
xml = f.read()
......
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