-
Notifications
You must be signed in to change notification settings - Fork 30
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
Failure in test suite #33
Comments
Thanks for the bug report! I've verified that I see it, too. I'll get on this ASAP, and see if I can also get a better test infra in place using tox et al (which I've been meaning to do for quite some time) to keep this from happening again. |
json5.dumps({"foo": 1, (1, 2): 2}, skip_keys=true) would incorrectly print a trailing comma if the `(1, 2)` item was found as the second item in the list. This was reported in #33. This only showed up in Python3 and not Python2, because of differences in the ordering of the dictionary keys. This change also rewrites the test for this to use OrderedDicts() to address that, and adds a test for a dict with only invalid keys as well, for comprehensiveness.
This is now fixed in 2ed8a4a; I've tagged and released v0.9.1 on PyPI as well. I've not yet added better tox support or anything else like that to do better release checking, though. |
Thanks for the quick reaction. |
Update done -> https://src.fedoraproject.org/rpms/python-json5 |
In 0.9.0 is a failure which now prevents the RPM package for Fedora to be build.
Would be nice if you could fix it and release 0.9.1. Thanks.
The text was updated successfully, but these errors were encountered: