Skip to content

Commit

Permalink
windows dtypes in pandana
Browse files Browse the repository at this point in the history
  • Loading branch information
knaaptime committed Nov 8, 2024
1 parent 419e821 commit 4479a9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion geosnap/tests/test_isochrones.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ def test_isos_from_gdf_shapely():
)
assert_almost_equal(t.area.astype(float).round(8).tolist()[0], 0.00012474)


@pytest.mark.skipif(
sys.platform.startswith("win"),
reason="skipping test on windows because of dtype issue",
)
def test_network_constructor():
tracts = get_acs(DataStore(), county_fips='48301', level='tract', years=2015)
walk_net = get_network_from_gdf(tracts)
Expand All @@ -104,6 +107,10 @@ def test_isos_with_edges():
# this will grow depending on the size of the OSM network when tested...
assert alpha.area.round(8).iloc[0] >= 0.00036433

@pytest.mark.skipif(
sys.platform.startswith("win"),
reason="skipping test on windows because of dtype issue",
)
def test_project_network():
tracts = get_acs(DataStore(), county_fips='48301', level='tract', years=2015)
walk_net = get_network_from_gdf(tracts)
Expand Down

0 comments on commit 4479a9b

Please sign in to comment.