diff --git a/erp5/tests/testERP5TestNode.py b/erp5/tests/testERP5TestNode.py
index 7c10d7e85992f66e747ca3d7d2eb1e57ce23e4ce..c947bd095ad2e6d4243c3452099700356aa881d1 100644
--- a/erp5/tests/testERP5TestNode.py
+++ b/erp5/tests/testERP5TestNode.py
@@ -617,7 +617,7 @@ shared = true
     parser.add_argument('--hello_world', help='Hello world!')
     def spawn(*args, **kw):
       if args[1] == '--help':
-        return {'stdout': parser.format_help()}
+        return {'stdout': parser.format_help().encode()}
       call_parameter_list.append(args)
 
     test_node = self.getTestNode()
diff --git a/erp5/util/testnode/ProcessManager.py b/erp5/util/testnode/ProcessManager.py
index 4e471d6dcae07f1696761aec6d3dea31902c7b2a..edd4f1f03295f8af04707c48658c90e5cf3802b3 100644
--- a/erp5/util/testnode/ProcessManager.py
+++ b/erp5/util/testnode/ProcessManager.py
@@ -196,8 +196,9 @@ class ProcessManager(object):
     return result
 
   def getSupportedParameterList(self, program_path):
-    return re.findall(r'^  (--\w+)',
-      self.spawn(program_path, '--help')['stdout'], re.M)
+    # type: (str) -> Sequence[str]
+    return (parameter.decode('utf-8') for parameter in
+        re.findall(br'^  (--\w+)', self.spawn(program_path, '--help')['stdout'], re.M))
 
   def killall(self, path):
     """