def _expect_response(self, **kwargs):
            klass = self._mock_stdin_writer()
            kwargs['klass'] = klass
            runner = self._runner(**kwargs)
            runner.run(_, responses=kwargs['responses'], hide=True)
            return klass.write_stdin
Execute a run() w/ ``responses`` set & _runner() ``kwargs`` given.
dataset/ETHPy150Open pyinvoke/invoke/tests/runners.py/Runner_.responding._expect_response