@timed(3)
    def test_time2(self):
        p = EasyProcess('sleep 5').call(timeout=1)
        eq_(p.is_alive(), False)
        eq_(p.timeout_happened, True)
        ok_(p.return_code < 0)
        eq_(p.stdout, '')
dataset/ETHPy150Open ponty/EasyProcess/tests/fast/test_timeout.py/Test.test_time2/original