From 8bac1cf368fb39a0ddace504e952af90a37cd16a Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 9 Aug 2019 22:45:00 +0100 Subject: [PATCH] issue #482: another Py3 fix --- tests/testlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testlib.py b/tests/testlib.py index 672d677b..255fba88 100644 --- a/tests/testlib.py +++ b/tests/testlib.py @@ -457,7 +457,7 @@ class DockerizedSshDaemon(object): def check_processes(self): args = ['docker', 'exec', self.container_name, 'ps', '-o', 'comm='] counts = {} - for comm in subprocess__check_output(args).splitlines(): + for comm in subprocess__check_output(args).decode().splitlines(): comm = comm.strip() counts[comm] = counts.get(comm, 0) + 1