Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assert CompareIn Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call NameLoad Str ImportFrom alias Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str ImportFrom alias Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call NameLoad Str ImportFrom alias Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str ImportFrom alias Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str Import alias Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str attr Str Expr Call NameLoad Str TryFinally body Import alias Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str finalbody If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return NameLoad decorator_list decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad body Import alias decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot NameLoad keyword Str
N/A N/A 
    tests.test_instance
    ~~~~~~~~~~~~~~~~~~~

    :copyright: (c) 2015 by the Flask Team, see AUTHORS for more details.
    :license: BSD, see LICENSE for more details.
 N/A os N/A sys N/A pytest N/A flask flask._compat PY2 test_explicit_instance_paths N/A N/A modules_tmpdir N/A N/A N/A N/A N/A pytest raises ValueError excinfo N/A N/A N/A N/A flask Flask __name__ instance_path instance N/A N/A must be absolute N/A str N/A excinfo value N/A app N/A N/A flask Flask __name__ instance_path N/A str modules_tmpdir N/A N/A N/A app instance_path N/A str modules_tmpdir N/A test_main_module_paths N/A N/A modules_tmpdir purge_module N/A N/A N/A app N/A N/A modules_tmpdir join main_app.py N/A N/A N/A app write import flask

app = flask.Flask("__main__") N/A N/A purge_module main_app main_app app N/A here N/A N/A N/A os path abspath N/A N/A os getcwd N/A N/A N/A app instance_path N/A N/A N/A os path join here instance N/A test_uninstalled_module_paths N/A N/A modules_tmpdir purge_module N/A N/A N/A app N/A N/A N/A N/A modules_tmpdir join config_module_app.py write import os
import flask
here = os.path.abspath(os.path.dirname(__file__))
app = flask.Flask(__name__)
 N/A N/A purge_module config_module_app config_module_app app N/A N/A N/A app instance_path N/A str N/A N/A modules_tmpdir join instance N/A test_uninstalled_package_paths N/A N/A modules_tmpdir purge_module N/A N/A N/A app N/A N/A modules_tmpdir mkdir config_package_app N/A init N/A N/A app join __init__.py N/A N/A N/A init write import os
import flask
here = os.path.abspath(os.path.dirname(__file__))
app = flask.Flask(__name__)
 N/A N/A purge_module config_package_app config_package_app app N/A N/A N/A app instance_path N/A str N/A N/A modules_tmpdir join instance N/A test_installed_module_paths N/A N/A modules_tmpdir modules_tmpdir_prefix purge_module site_packages limit_loader N/A N/A N/A N/A N/A N/A N/A site_packages join site_app.py write import flask
app = flask.Flask(__name__)
 N/A N/A purge_module site_app site_app app N/A N/A N/A app instance_path N/A N/A N/A N/A modules_tmpdir join var join site_app-instance N/A test_installed_package_paths N/A N/A limit_loader modules_tmpdir modules_tmpdir_prefix purge_module monkeypatch N/A N/A N/A installed_path N/A N/A modules_tmpdir mkdir path N/A N/A N/A monkeypatch syspath_prepend installed_path N/A app N/A N/A installed_path mkdir installed_package N/A init N/A N/A app join __init__.py N/A N/A N/A init write import flask
app = flask.Flask(__name__) N/A N/A purge_module installed_package installed_package app N/A N/A N/A app instance_path N/A N/A N/A N/A modules_tmpdir join var join installed_package-instance N/A test_prefix_package_paths N/A N/A limit_loader modules_tmpdir modules_tmpdir_prefix purge_module site_packages N/A N/A N/A app N/A N/A site_packages mkdir site_package N/A init N/A N/A app join __init__.py N/A N/A N/A init write import flask
app = flask.Flask(__name__) N/A N/A purge_module site_package N/A site_package N/A N/A N/A N/A site_package app instance_path N/A N/A N/A N/A modules_tmpdir join var join site_package-instance N/A test_egg_installed_paths N/A N/A install_egg modules_tmpdir modules_tmpdir_prefix N/A N/A N/A N/A N/A N/A N/A N/A N/A modules_tmpdir mkdir site_egg join __init__.py write import flask

app = flask.Flask(__name__) N/A N/A install_egg site_egg N/A N/A N/A site_egg N/A N/A N/A N/A site_egg app instance_path N/A str N/A N/A N/A N/A modules_tmpdir join var/ join site_egg-instance N/A N/A N/A site_egg N/A sys modules N/A N/A N/A N/A sys modules N/A site_egg N/A test_meta_path_loader_without_is_package N/A N/A request modules_tmpdir N/A N/A N/A app N/A N/A modules_tmpdir join unimportable.py N/A N/A N/A app write import flask
app = flask.Flask(__name__) Loader N/A object N/A find_module N/A N/A self name path N/A None N/A N/A self N/A N/A N/A N/A N/A N/A sys meta_path append N/A Loader N/A N/A N/A request addfinalizer N/A N/A sys meta_path pop N/A N/A N/A pytest raises AttributeError N/A N/A unimportable N/A N/A N/A N/A pytest mark skipif N/A PY2 reason This only works under Python 2.