forked from orbit-oss/flask
When an exception has been handled when using the request / app context in a with statement, `sys.exc_info()` will still contain the exception information even though it has been handled already. The `__exit__` methods pass in `None` for the exception value in that case, which needs to be distinguisable from the default value for the `exc` parameter. Use a dedicated singleton sentinel value instead. |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| test_apps | ||
| conftest.py | ||
| test_appctx.py | ||
| test_basic.py | ||
| test_blueprints.py | ||
| test_config.py | ||
| test_deprecations.py | ||
| test_ext.py | ||
| test_helpers.py | ||
| test_instance_config.py | ||
| test_regression.py | ||
| test_reqctx.py | ||
| test_signals.py | ||
| test_subclassing.py | ||
| test_templating.py | ||
| test_testing.py | ||
| test_views.py | ||