summaryrefslogtreecommitdiff
path: root/src/jinja2/ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jinja2/ext.py')
-rw-r--r--src/jinja2/ext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jinja2/ext.py b/src/jinja2/ext.py
index 9c5498b..3e98293 100644
--- a/src/jinja2/ext.py
+++ b/src/jinja2/ext.py
@@ -604,7 +604,7 @@ class WithExtension(Extension):
"The 'with' extension is deprecated and will be removed in"
" Jinja 3.1. This is built in now.",
DeprecationWarning,
- stacklevel=2,
+ stacklevel=3,
)
@@ -615,7 +615,7 @@ class AutoEscapeExtension(Extension):
"The 'autoescape' extension is deprecated and will be"
" removed in Jinja 3.1. This is built in now.",
DeprecationWarning,
- stacklevel=2,
+ stacklevel=3,
)