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

Make docstrings reproducible with bleeding-edge versions of Numpy #440

Merged
merged 1 commit into from May 17, 2018

Conversation

lpsinger
Copy link
Member

Numpy's string representation of arrays changed significantly from 1.13 to 1.14. See the changelog. We have to set the legacy representation mode for our doctests to be reproducible across both old and new versions of Numpy.

There is a lingering issue with the doctest for hp.reorder that is due to a regression in Numpy. See numpy/numpy#11112.

Numpy's string representation of arrays changed significantly from
1.13 to 1.14. See the [changelog]. We have to set the legacy
representation mode for our doctests to be reproducible across both
old and new versions of Numpy.

There is a lingering issue with the doctest for `hp.reorder` that
is due to a regression in Numpy. See numpy/numpy#11112.

[changelog]: https://docs.scipy.org/doc/numpy-1.14.0/release.html#many-changes-to-array-printing-disableable-with-the-new-legacy-printing-mode
@zonca
Copy link
Member

zonca commented May 17, 2018

thanks

@zonca zonca merged commit 7b052e1 into healpy:master May 17, 2018
@lpsinger lpsinger deleted the numpy_set_printoptions branch May 17, 2018 20:41
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

Successfully merging this pull request may close these issues.

None yet

2 participants