def __init__(self, **kwargs):
runner_cls = kwargs.pop("<STR_LIT>", Runner)<EOL>if not callable(runner_cls) and not isinstance(runner_cls(), Runner):<EOL><INDENT>raise p_exception.InstanceTypeError("<STR_LIT>")<EOL><DEDENT>self._runner_cls = runner_cls<EOL>self.runner = unittest.TextTestRunner(**kwargs)<EOL>
initialize test runner
        @param (dict) kwargs: key-value arguments used to initialize TextTestRunner