@@ -110,9 +110,9 @@ def test_filter_out_missing_top_level_packages(self) -> None:
110110 self .make_file (td , "base/c.pyi" )
111111 self .make_file (td , "base/missing.txt" )
112112 self .make_file (td , "typeshed/d.pyi" )
113- self .make_file (td , "typeshed/@python2/e" )
113+ self .make_file (td , "typeshed/@python2/e" ) # outdated
114114 self .make_file (td , "pkg1/f-stubs" )
115- self .make_file (td , "pkg2/g-python2-stubs" )
115+ self .make_file (td , "pkg2/g-python2-stubs" ) # outdated
116116 self .make_file (td , "mpath/sub/long_name/" )
117117
118118 def makepath (p : str ) -> str :
@@ -128,7 +128,7 @@ def makepath(p: str) -> str:
128128 res = filter_out_missing_top_level_packages (
129129 {"a" , "b" , "c" , "d" , "e" , "f" , "g" , "long_name" , "ff" , "missing" }, search , fscache
130130 )
131- assert res == {"a" , "b" , "c" , "d" , "e" , "f" , "g " , "long_name" }
131+ assert res == {"a" , "b" , "c" , "d" , "f " , "long_name" }
132132
133133 def make_file (self , base : str , path : str ) -> None :
134134 fullpath = os .path .join (base , path )
0 commit comments