summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/go.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/applications/lang/go.py')
-rw-r--r--test/unit/applications/lang/go.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/applications/lang/go.py b/test/unit/applications/lang/go.py
index 7212a95c..e0f83c0a 100644
--- a/test/unit/applications/lang/go.py
+++ b/test/unit/applications/lang/go.py
@@ -1,5 +1,5 @@
import os
-from subprocess import Popen
+import subprocess
from unit.applications.proto import TestApplicationProto
@@ -26,7 +26,7 @@ class TestApplicationGo(TestApplicationProto):
env['GOPATH'] = self.pardir + '/build/go'
try:
- process = Popen(
+ process = subprocess.Popen(
[
'go',
'build',
@@ -35,6 +35,7 @@ class TestApplicationGo(TestApplicationProto):
self.current_dir + '/go/' + script + '/' + name + '.go',
],
env=env,
+ stderr=subprocess.STDOUT,
)
process.communicate()