mercurial/pathutil.py
changeset 51290 f4a0806081f2
parent 51288 8b2ea2246a5f
child 51592 24844407fa0d
--- 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())