|
4 | 4 | import geopandas as gpd |
5 | 5 | import numpy as np |
6 | 6 | import pandas as pd |
7 | | -import pytest |
8 | 7 | from shapely.geometry import Point |
9 | 8 |
|
10 | 9 | from openpois.conflation.dedup_overture import ( |
@@ -141,7 +140,6 @@ def test_two_near_duplicates_make_one_pair(self): |
141 | 140 | # Two POIs ~11 m apart with identical name + taxonomy → |
142 | 141 | # strong match, emitted once. |
143 | 142 | coords = [(-122.335, 47.608), (-122.335, 47.6081)] |
144 | | - n = 2 |
145 | 143 | shared_labels = np.array(["bank", "bank"], dtype = object) |
146 | 144 | l0_bits = np.array([1, 1], dtype = np.uint16) |
147 | 145 | names = np.array(["US Bank", "US Bank"], dtype = object) |
@@ -175,12 +173,10 @@ def test_two_near_duplicates_make_one_pair(self): |
175 | 173 |
|
176 | 174 | def test_far_points_no_pair(self): |
177 | 175 | # Two POIs ~1 km apart → beyond 100 m max_radius. |
178 | | - coords = [(-122.335, 47.608), (-122.335, 47.618)] |
179 | 176 | centroids = np.array( |
180 | 177 | [[-122.335, 47.608], [-122.335, 47.618]], |
181 | 178 | dtype = np.float64, |
182 | 179 | ) |
183 | | - n = 2 |
184 | 180 | pairs, _ = find_self_matches_chunked( |
185 | 181 | centroids_lonlat = centroids, |
186 | 182 | radii_m = np.array([100.0, 100.0], dtype = np.float32), |
|
0 commit comments