Skip to content
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

Tests created differ, probably due to Dict order #9

Open
joto opened this issue Feb 26, 2019 · 1 comment
Open

Tests created differ, probably due to Dict order #9

joto opened this issue Feb 26, 2019 · 1 comment

Comments

@joto
Copy link
Contributor

joto commented Feb 26, 2019

Every time I create the tests data using create_test_data.py I get a different mvt file. I believe this is because before Python 3.6 dictionaries are not ordered.

This is probably the problematic place:
https://github.com/mapbox/vector-tile-base/blob/vt3/tests/create_test_data.py#L137-L151

@joto
Copy link
Contributor Author

joto commented Feb 26, 2019

Same problem in a few other places. Also in create_valid_single_layer_v2_linestring for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant