diff -r 7bd7fcc711f2 -r f4a0806081f2 mercurial/pathutil.py --- a/mercurial/pathutil.py Wed Dec 20 16:39:03 2023 +0100 +++ b/mercurial/pathutil.py Wed Dec 20 22:17:03 2023 +0100 @@ -23,14 +23,6 @@ rustdirs = policy.importrust('dirstate', 'Dirs') parsers = policy.importmod('parsers') -# keeps pyflakes happy -assert [ - Any, - Callable, - Iterator, - Optional, -] - def _lowerclean(s: bytes) -> bytes: return encoding.hfsignoreclean(s.lower())