summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-05-08 13:03:15 -0700
committerDavid Lord <davidism@gmail.com>2021-05-08 13:03:15 -0700
commitbe15556dbaebc4ab45d3f5f5d34874279831103c (patch)
treea84a778972947c9b3f82ccf5ae6e7358984a9b4b /tests
parentac8d8d69fe3e0eb81251867218c67193a086e427 (diff)
downloadjinja2-be15556dbaebc4ab45d3f5f5d34874279831103c.tar.gz
add type annotations
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext.py b/tests/test_ext.py
index 20b19d8..238d95e 100644
--- a/tests/test_ext.py
+++ b/tests/test_ext.py
@@ -193,7 +193,7 @@ class StreamFilterExtension(Extension):
pos = 0
end = len(token.value)
lineno = token.lineno
- while 1:
+ while True:
match = _gettext_re.search(token.value, pos)
if match is None:
break