code: def test_app_context_provides_current_app(app):
      with app.app_context():
          assert flask.current_app._get_current_object() is app
      assert not flask.current_app
  
file_path: flask/tests/test_appctx.py
imports: import pytest
  import flask
  from flask.globals import app_ctx
  from flask.globals import request_ctx
label_desc: Use image node_id 5 for calling a global function with example usage: test_app_context_provides_current_app(app) without return types