diff options
-rw-r--r-- | meta/lib/oeqa/sdk/case.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/sdkext/case.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk/case.py index 782db8b523..963aa8d358 100644 --- a/meta/lib/oeqa/sdk/case.py +++ b/meta/lib/oeqa/sdk/case.py | |||
@@ -9,4 +9,4 @@ class OESDKTestCase(OETestCase): | |||
9 | def _run(self, cmd): | 9 | def _run(self, cmd): |
10 | return subprocess.check_output(". %s > /dev/null; %s;" % \ | 10 | return subprocess.check_output(". %s > /dev/null; %s;" % \ |
11 | (self.tc.sdk_env, cmd), shell=True, | 11 | (self.tc.sdk_env, cmd), shell=True, |
12 | stderr=subprocess.STDOUT).decode("utf-8") | 12 | stderr=subprocess.STDOUT, universal_newlines=True) |
diff --git a/meta/lib/oeqa/sdkext/case.py b/meta/lib/oeqa/sdkext/case.py index 6f708aa4ca..21b718831c 100644 --- a/meta/lib/oeqa/sdkext/case.py +++ b/meta/lib/oeqa/sdkext/case.py | |||
@@ -18,4 +18,4 @@ class OESDKExtTestCase(OESDKTestCase): | |||
18 | 18 | ||
19 | return subprocess.check_output(". %s > /dev/null;"\ | 19 | return subprocess.check_output(". %s > /dev/null;"\ |
20 | " %s;" % (self.tc.sdk_env, cmd), stderr=subprocess.STDOUT, | 20 | " %s;" % (self.tc.sdk_env, cmd), stderr=subprocess.STDOUT, |
21 | shell=True, env=env).decode("utf-8") | 21 | shell=True, env=env, universal_newlines=True) |