Skip to content

Commit

Permalink
try skipping problematic tests on win
Browse files Browse the repository at this point in the history
  • Loading branch information
knaaptime committed Oct 2, 2023
1 parent 0c559d1 commit be47941
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions geosnap/tests/test_constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
LTDB = None
NCDB = None

import sys

store = DataStore()

Expand All @@ -25,13 +26,24 @@ def test_nces_school_dists():


def test_ejscreen():
ej = io.get_ejscreen(store, years=[2018], fips=["11"])
assert ej.shape == (450, 369)
if sys.platform.startswith("win"):
pytest.skip(
"skipping test on windows due to mem failure", allow_module_level=True
)

else:
ej = io.get_ejscreen(store, years=[2018], fips=["11"])
assert ej.shape == (450, 369)


def test_nces_sabs():
sabs = io.get_nces(store, dataset="sabs")
assert sabs.shape == (75128, 15)
if sys.platform.startswith("win"):
pytest.skip(
"skipping test on windows due to mem failure", allow_module_level=True
)
else:
sabs = io.get_nces(store, dataset="sabs")
assert sabs.shape == (75128, 15)


def test_acs():
Expand Down

0 comments on commit be47941

Please sign in to comment.