Fix bug in container mode for tool-info modules.
Keyword arguments were not passed correctly, but this was used only by
test code.
@@ -56,7 +56,7 @@ class ContainerizedTool(benchexec.tools.template.BaseTool):
def _forward_call(self, method_name, *args, **kwargs):
"""Call given method indirectly on the tool instance in the container."""
- result = self._pool.apply(_call_tool_func, [method_name] + list(args), **kwargs)
+ result = self._pool.apply(_call_tool_func, [method_name] + list(args), kwargs)
if isinstance(result, BaseException):
# None of the methods are expected to return exceptions,
# so we can assume that any exception should be raised.
