def test_bash(self):
        bash = replwrap.bash()
        res = bash.run_command("time")
        assert 'real' in res, res

        # PAGER should be set to cat, otherwise man hangs
        res = bash.run_command('man sleep', timeout=2)
        assert 'SLEEP' in res, res
dataset/ETHPy150Open Calysto/metakernel/metakernel/tests/test_replwrap.py/REPLWrapTestCase.test_bash/original