summaryrefslogtreecommitdiff
path: root/examples/bench.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-09 12:03:07 -0800
committerDavid Lord <davidism@gmail.com>2020-01-10 07:54:39 -0800
commitd177eeb295e2552227bf569d703ca32bb509a628 (patch)
tree1395bc143b9bfa4f382b778db68da8f645efcc80 /examples/bench.py
parentc30675f964b331668c1379726b8ead3c509d9c9f (diff)
downloadjinja2-d177eeb295e2552227bf569d703ca32bb509a628.tar.gz
apply reorder-python-imports
Diffstat (limited to 'examples/bench.py')
-rw-r--r--examples/bench.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bench.py b/examples/bench.py
index 0193cc1..7d988cd 100644
--- a/examples/bench.py
+++ b/examples/bench.py
@@ -3,9 +3,10 @@
that we get a picture of how fast Jinja is for a semi real world
template. If a template engine is not installed the test is skipped.\
"""
-import sys
import cgi
+import sys
from timeit import Timer
+
from jinja2 import Environment as JinjaEnvironment
context = {