@@ -189,7 +189,7 @@ async def test_divided_road_eastern_parkway(self, spatial_index_dir):
189189 # are approximate, but it should resolve to something
190190 assert isinstance (result .on_street , str )
191191 assert len (result .on_street ) > 0
192- except (AmbiguousResolutionError , NoSegmentFoundError ):
192+ except (AmbiguousResolutionError , NoSegmentFoundError ): # lgtm[py/empty-except]
193193 pass
194194
195195
@@ -208,7 +208,7 @@ async def test_manhattan_midtown(self, spatial_index_dir):
208208 )
209209 assert isinstance (result .on_street , str )
210210 assert result .side_of_street in ("N" , "S" , "E" , "W" )
211- except (AmbiguousResolutionError , NoSegmentFoundError ):
211+ except (AmbiguousResolutionError , NoSegmentFoundError ): # lgtm[py/empty-except]
212212 pass
213213
214214 async def test_queens_astoria (self , spatial_index_dir ):
@@ -221,7 +221,7 @@ async def test_queens_astoria(self, spatial_index_dir):
221221 index_dir = spatial_index_dir ,
222222 )
223223 assert isinstance (result .on_street , str )
224- except (AmbiguousResolutionError , NoSegmentFoundError ):
224+ except (AmbiguousResolutionError , NoSegmentFoundError ): # lgtm[py/empty-except]
225225 pass
226226
227227 async def test_bronx_grand_concourse (self , spatial_index_dir ):
@@ -234,5 +234,5 @@ async def test_bronx_grand_concourse(self, spatial_index_dir):
234234 index_dir = spatial_index_dir ,
235235 )
236236 assert isinstance (result .on_street , str )
237- except (AmbiguousResolutionError , NoSegmentFoundError ):
237+ except (AmbiguousResolutionError , NoSegmentFoundError ): # lgtm[py/empty-except]
238238 pass
0 commit comments