Skip to content

TST: Skip lakes test for pyshp 2.2 #2022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

greglucas
Copy link
Contributor

pyshp 2.2 reverses the order of the lakes shapefile, which is not what
we want for this test. They are discussing reverting that change, so
just skip this version for now.

xref: #2012

@greglucas greglucas added this to the 0.21 milestone Mar 25, 2022
pyshp 2.2 reverses the order of the lakes shapefile, which is not what
we want for this test. They are discussing reverting that change, so
just skip this version for now.
@QuLogic
Copy link
Member

QuLogic commented Mar 26, 2022

I was thinking we'd just reverse the expected for that version. In #2012, @karimbahgat suggested sorting the coordinates, but that doesn't seem quite right to me as sorting is not holistic. Perhaps we can check .is_ccw?

@greglucas
Copy link
Contributor Author

I was just trying to get the tests passing again, and because this seems to be a potentially one-off situation I decided to skip it for this version instead of altering any tests. I'd be fine with a different approach too if you want to PR something.

@QuLogic
Copy link
Member

QuLogic commented Apr 26, 2022

I merged #2028, so we can close this.

@QuLogic QuLogic closed this Apr 26, 2022
@greglucas greglucas deleted the test-lakes branch April 26, 2022 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants