Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
eeec4fb9
Commit
eeec4fb9
authored
Mar 29, 2019
by
Eckhart Arnold
Browse files
test_dhparser.py: call python3
parent
092ffc22
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_dhparser.py
View file @
eeec4fb9
...
...
@@ -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
(
'python
3
../scripts/dhparser.py testdata/neu '
+
nulldevice
)
os
.
system
(
'python
3
testdata/neu/tst_neu_grammar.py '
+
nulldevice
)
os
.
system
(
'python
3
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment