diff --git a/tests/http/scorecard.py b/tests/http/scorecard.py index 70cfc62739..8e0e6ce5f8 100644 --- a/tests/http/scorecard.py +++ b/tests/http/scorecard.py @@ -676,7 +676,7 @@ def run_score(args, protocol): sockd = None socks_args = None if args.socks4 and args.socks5: - raise ScoreCardError(f'unable to run --socks4 and --socks5 together') + raise ScoreCardError('unable to run --socks4 and --socks5 together') elif args.socks4 or args.socks5: sockd = Dante(env=env) if sockd: diff --git a/tests/http/testenv/dante.py b/tests/http/testenv/dante.py index ba2f61ac61..995dce6a61 100644 --- a/tests/http/testenv/dante.py +++ b/tests/http/testenv/dante.py @@ -29,8 +29,7 @@ import os import socket import subprocess -from datetime import datetime, timedelta -from typing import List, Dict +from typing import Dict from .env import Env from .ports import alloc_ports_and_do