human
Complete the below
@requires_application()
def test_run():

    ''''Test app running'
    '''
assistant
#Here is the Python code you requested.
    for _ in range(2):
        with Canvas(size=(100, 100), show=True, title='run') as c:
            @c.events.draw.connect
            def draw(event):
                print event
                c.app.quit()
            c.update()
            c.app.run()
        c.app.quit()