Commit 58fae0e2 authored by di68kap's avatar di68kap

- test_dhparser.py: windows bugfix

parent 9e71a764
......@@ -40,7 +40,7 @@ class TestDHParserCommandLineTool:
if not os.path.exists('testdata'):
os.mkdir('testdata')
self.nulldevice = " >/dev/null" if platform.system() != "Windows" else " > NUL"
self.python = 'python3 ' if os.system('python3 -V' + self.nulldevice) == 0 else 'python '
self.python = 'python3 ' if system('python3 -V' + self.nulldevice) == 0 else 'python '
def teardown(self):
if os.path.exists('testdata/neu/neuServer.py'):
......
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