Skip to content

Commit

Permalink
tools: patch jinja2 for Python 3.10 compat
Browse files Browse the repository at this point in the history
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 24, 2021
1 parent fc517cb commit f16d255
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit f16d255

Please sign in to comment.