def test_abort():

    code, response = abort(404)
    assert code == 404
    assert 'errors' in response
    assert response['errors'][0]['message'] == '404 Not Found'
Check for any event without waiting.
dataset/ETHPy150Open heiskr/sagefy/server/test/test_framework_routes.py/test_abort--crossover with--dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_WindowsScreen.get_event