summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py
index 41ecf795a38..3d81df24f4a 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -803,7 +803,7 @@ def skipUnlessFeature(feature):
if platform.system() == 'Darwin':
try:
DEVNULL = open(os.devnull, 'w')
- output = subprocess.check_output(["/usr/sbin/sysctl", feature], stderr=DEVNULL)
+ output = subprocess.check_output(["/usr/sbin/sysctl", feature], stderr=DEVNULL).decode("utf-8")
# If 'feature: 1' was output, then this feature is available and
# the test should not be skipped.
if re.match('%s: 1\s*' % feature, output):
OpenPOWER on IntegriCloud