def File(fd, filename=None, mimetype=None):
    from warnings import warn
    warn(DeprecationWarning('werkzeug.test.File is deprecated, use the '
                            'EnvironBuilder or FileStorage instead'))
    return FileStorage(fd, filename=filename, content_type=mimetype)
Backwards compat.
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/test.py/File