Skip to content

Commit 1843c80

Browse files
ggqlqpicnixz
andauthored
Update Lib/test/test_httpservers.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent e5df251 commit 1843c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_httpservers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ def fetch_file(self, path, allow_self_signed_cert=True) -> bytes:
17451745
res = urllib.request.urlopen(req, context=context)
17461746
return res.read()
17471747

1748-
def parse_cli_output(self, output: str) -> tuple[str, str, int]:
1748+
def parse_cli_output(self, output):
17491749
try:
17501750
matches = re.search(r'\((https?)://([^/:]+):(\d+)/?\)', output)
17511751
return matches.group(1), matches.group(2), int(matches.group(3))

0 commit comments

Comments
 (0)