Skip to content

Commit

Permalink
create variable to test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnGWar26 committed Apr 1, 2021
1 parent 5cffa2d commit 51c0d52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tobler/tests/test_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@

sac1 = load_example("Sacramento1")
sac1 = geopandas.read_file(sac1.get_path("sacramentot2.shp"))
sac1["pct_poverty"] = sac1.POV_POP / sac1.POV_TOT


def test_smaup():
queen = Queen.from_dataframe(sac1)
s = _smaup(1,sac1["pct_poverty"].to_numpy(),queen)
s = _smaup(1,sac1[""].to_numpy(),queen)
assert s.summary

0 comments on commit 51c0d52

Please sign in to comment.