

def test_notfound(webapp):
    try:
        urlopen(('%s/test_notfound' % webapp.server.http.base))
    except HTTPError as e:
        assert (e.code == 404)
        assert (webapp.msg == 'Not Found')
    else:
        assert False

dataset/ETHPy150Open circuits/circuits/tests/web/test_wsgi_application.py test_notfound/VarMisuse@48/61 `e`->`webapp`