Skip to content

Commit e596b26

Browse files
committed
Don't quote the Match type since it's imported from Typing
1 parent 04d052e commit e596b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/junitxml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Junit(py.xml.Namespace):
7171

7272

7373
def bin_xml_escape(arg: str) -> py.xml.raw:
74-
def repl(matchobj: "Match[str]") -> str:
74+
def repl(matchobj: Match[str]) -> str:
7575
i = ord(matchobj.group())
7676
if i <= 0xFF:
7777
return "#x%02X" % i

0 commit comments

Comments
 (0)