TST: use fixtures for accessing geopandas datasets #266
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a (potentially temporary) solution for the geopandas datasets being deprecated / removed.
All usages have been updated to use a fixture, so we have a centralized place where the path is defined. And for now, just let that path be the old
geopandas.datasets
one, or the new path to the test data included in geopandas for newer versions.Longer term, we probably ideally wouldn't rely on such internal test data of geopandas, but that's something we can clean up later.