pysal / momepy

Urban Morphology Measuring Toolkit
https://docs.momepy.org
BSD 3-Clause "New" or "Revised" License
496 stars 59 forks source link

TST: fix a flaky test in Count #495

Closed martinfleis closed 1 year ago

martinfleis commented 1 year ago

We have a CI in dev env. The result is correct but the order of rows in blocks is coming different from some geopandas operation.

We don't really care about that so I am just replacing the test with something a bit more robust.

I also noticed that the whole Blocks algo would deserve a bit of refactoring but that is a problem for another time.