diff --git a/test/crossrunner/compat.py b/test/crossrunner/compat.py
index f1ca91b..932a48c 100644
--- a/test/crossrunner/compat.py
+++ b/test/crossrunner/compat.py
@@ -8,9 +8,9 @@
         bin_args = map(lambda a: a.decode(_ENCODE), args)
         return os.path.join(*bin_args).encode(_ENCODE)
 
-    def str_join(s, l):
-        bin_args = map(lambda a: a.decode(_ENCODE), l)
-        b = s.decode(_ENCODE)
+    def str_join(left, right):
+        bin_args = map(lambda a: a.decode(_ENCODE), right)
+        b = left.decode(_ENCODE)
         return b.join(bin_args).encode(_ENCODE)
 
     logfile_open = open
diff --git a/test/py/TestServer.py b/test/py/TestServer.py
index 4d90f8f..81ae1ad 100755
--- a/test/py/TestServer.py
+++ b/test/py/TestServer.py
@@ -175,7 +175,7 @@
 
     def testMulti(self, arg0, arg1, arg2, arg3, arg4, arg5):
         if options.verbose > 1:
-            logging.info('testMulti(%s)' % [arg0, arg1, arg2, arg3, arg4, arg5])
+            logging.info('testMulti(%s, %s, %s, %s, %s, %s)' % (arg0, arg1, arg2, arg3, arg4, arg5))
         return Xtruct(string_thing='Hello2',
                       byte_thing=arg0, i32_thing=arg1, i64_thing=arg2)
 
