summaryrefslogtreecommitdiffhomepage
path: root/test/unit/check/go.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/check/go.py')
-rw-r--r--test/unit/check/go.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/check/go.py b/test/unit/check/go.py
index 3d9d13e7..09ae641d 100644
--- a/test/unit/check/go.py
+++ b/test/unit/check/go.py
@@ -2,7 +2,5 @@ from unit.applications.lang.go import TestApplicationGo
def check_go():
- process = TestApplicationGo.prepare_env('empty')
-
- if process != None and process.returncode == 0:
+ if TestApplicationGo.prepare_env('empty') is not None:
return True