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 <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
targos authored and richardlau committed Nov 25, 2021
1 parent cd7c340 commit 6b7b2bb
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 6b7b2bb

Please sign in to comment.