aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest_kubernetes/k8stest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py
index 76693e91..c78959ca 100644
--- a/functest_kubernetes/k8stest.py
+++ b/functest_kubernetes/k8stest.py
@@ -46,7 +46,7 @@ class K8sTesting(testcase.TestCase):
process = subprocess.Popen(cmd_line, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
- output = process.stdout.read()
+ output = process.stdout.read().decode("utf-8")
if ('Error loading client' in output or
'Unexpected error' in output):
raise Exception(output)