summaryrefslogtreecommitdiff
path: root/tests/test_security.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-04-10 10:22:24 -0700
committerDavid Lord <davidism@gmail.com>2021-04-10 10:22:24 -0700
commitaafe94d97a75ffd82f8d38c0a9b5d7e6d250e3e7 (patch)
treeedc0f1c09e0e1f2e287d3e983de567c41a6f5414 /tests/test_security.py
parent39846a887b105497bd5aabc02f40a1e89f422c1f (diff)
downloadjinja2-aafe94d97a75ffd82f8d38c0a9b5d7e6d250e3e7.tar.gz
Markup and escape should be imported from markupsafe
Diffstat (limited to 'tests/test_security.py')
-rw-r--r--tests/test_security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_security.py b/tests/test_security.py
index 1b64cd3..0e8dc5c 100644
--- a/tests/test_security.py
+++ b/tests/test_security.py
@@ -1,7 +1,7 @@
import pytest
+from markupsafe import escape
from jinja2 import Environment
-from jinja2 import escape
from jinja2.exceptions import SecurityError
from jinja2.exceptions import TemplateRuntimeError
from jinja2.exceptions import TemplateSyntaxError