diff mercurial/phases.py @ 51307:f4a0806081f2

pytype: drop the now useless assert As the imported types are now used by type annotation, these ugly assert are no longer needed.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 20 Dec 2023 22:17:03 +0100
parents 8b2ea2246a5f
children 8f2ea3fa50fd
line wrap: on
line diff
--- a/mercurial/phases.py	Wed Dec 20 16:39:03 2023 +0100
+++ b/mercurial/phases.py	Wed Dec 20 22:17:03 2023 +0100
@@ -132,18 +132,6 @@
     util,
 )
 
-# keeps pyflakes happy
-assert [
-    Any,
-    Callable,
-    Dict,
-    Iterable,
-    List,
-    Optional,
-    Set,
-    Tuple,
-]
-
 Phaseroots = Dict[int, Set[bytes]]
 
 if typing.TYPE_CHECKING: