Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tools: patch jinja2 for Python 3.10 compat
PR-URL: #40296
Backport-PR-URL: #40689
Fixes: #40294
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
targos authored and richardlau committed Nov 25, 2021
commit 6b7b2bba41dc196dee47229d502725b1aed42134
5 changes: 4 additions & 1 deletion tools/inspector_protocol/jinja2/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"""
import operator
import re
from collections import Mapping
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping
from jinja2.runtime import Undefined
from jinja2._compat import text_type, string_types, integer_types
import decimal
Expand Down