mavsdk_tests: use subprocess instead of sys stdout

This commit is contained in:
Julian Oes
2019-11-13 14:58:57 +01:00
committed by Lorenz Meier
parent eef57f93ae
commit 7ff4bd8289
+1 -2
View File
@@ -8,7 +8,6 @@ import os
import psutil
import signal
import subprocess
import sys
test_matrix = [
@@ -44,7 +43,7 @@ class Runner:
datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%SZ")
), 'w')
else:
f = sys.stdout
f = subprocess.STDOUT
print("Running: {}".format(" ".join([self.cmd] + self.args)))