def wait_until_start():
    while True:
        try:
            results = urlopen(EXAMPLE_APP)
            if results.code == 404:
                raise Exception('%s returned unexpected 404' % EXAMPLE_APP)
            break
        except __HOLE__:
            pass
dataset/ETHPy150Open cobrateam/splinter/run_tests.py/wait_until_start