trackintel
trackintel copied to clipboard
CLN: Handle warnings in tests
When running the tests we get around 500 warnings, that will results in unstable code. We should try to handle as much errors as possible.
Currently we have 28 + (4 postgis) warnings, the sources are:
- 7 future warnings that geopandas will remove setting crs on geodataframes without geometry
- (4) from using geopandas sql io without crs (that is what the test tests tho)
- 21 warnings because of interaction between shapely and pandas apply,
preprocessing/triplegs
seem to be the cause of that. ~~(some fixed in #432)~~ - ~~60 (26) DeprecationWarning for disutils, already fixed in later version of geopandas (https://github.com/geopandas/geopandas/pull/2084)~~ ~~- 1 (0) copy warning, is fixed in #393~~ ~~- 1 (0) warning in passing None to pytest, is fixed in #421~~
The only warnings we currently have is a deprecation warning for the pyproj, nothing we could influence. So I'll close this issue.