def test_handle_abort(worker):
    worker.handle_abort(object(), object())
    assert not worker.alive
    assert worker.exit_code == 1
dataset/ETHPy150Open KeepSafe/aiohttp/tests/test_worker.py/test_handle_abort/original