Skip to content

Commit 62ab3e3

Browse files
author
Gaboardi, James
committed
resolve #162
1 parent 271d721 commit 62ab3e3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

livelike/tests/test_acs_extract_geographies.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,11 @@ def test_invalid_geo():
163163

164164
@pytest.skip_if_no_censusapikey
165165
def test_extract_bg():
166-
167-
print(f"\n\n{trt_geoids=}\n\n") ########################################################################
168-
169166
_bg_geoids = parse_bg_fips_by_tract(
170167
year=year,
171168
targets=trt_geoids,
172169
)
173170

174-
print(f"\n\n{_bg_geoids=}\n\n") ########################################################################
175-
176171
bg = extract_geographies(year, _bg_geoids, geo="bg")
177172
observed = {"dims": bg.shape, "bbox": bg.total_bounds}
178173

livelike/tests/test_acs_puma_super_tracts.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ def test_puma_super_tract(method, layer):
3535
make_super_trt_method=method,
3636
)
3737
observed = pup.geo
38-
assert_geodataframe_equal(known, observed, check_dtype=False)
38+
39+
# see GH#162
40+
assert_geodataframe_equal(
41+
known.drop(columns="OBJECTID"),
42+
observed.drop(columns="OBJECTID"),
43+
check_dtype=False,
44+
)
3945

4046

4147
def test_puma_super_tracts_bad_method():

0 commit comments

Comments
 (0)