Skip to content

only run doctests on numpy 1.13 - #345

Closed
grlee77 wants to merge 3 commits into
PyWavelets:masterfrom
grlee77:np114_doctest_fix2
Closed

grlee77 wants to merge 3 commits into
PyWavelets:masterfrom
grlee77:np114_doctest_fix2

Conversation

@grlee77

@grlee77 grlee77 commented Jan 17, 2018

Copy link
Copy Markdown
Contributor

This is an alternative to #344 where I attempt to avoid running the doctests except in a single case on Travis which is currently set to use numpy 1.13.

Alternatively, we can update the docstrings to match 1.14 and use that version for the doctests.

Doctests will only be run in one case where numpy is explicitly < 1.14
@grlee77

grlee77 commented Jan 17, 2018

Copy link
Copy Markdown
Contributor Author

Travis seems happy with this, but Appveyor is still running the doctests for some reason. Any idea why? I though changing the setup.cfg would disable it because it just seems to call nosetests.

@rgommers

Copy link
Copy Markdown
Member

Deleting pywt/tests/test_doc.py should fix things I think.

@grlee77

grlee77 commented Feb 21, 2018

Copy link
Copy Markdown
Contributor Author

Deleting pywt/tests/test_doc.py should fix things I think

Thanks @rgommers. somehow I had missed this comment at the time. I didn't even realize we had a test_doc.py! #344 is succeeding now too. Can you merge either that PR or this one (once CI completes) and close the other? I don't have a strong preference either way. I just want to get CI working properly again for other pending PRs.

@grlee77

grlee77 commented Feb 21, 2018

Copy link
Copy Markdown
Contributor Author

doctests are still being run for some reason. I am going to close this in favor as #344 which uses legacy printing on numpy 1.14 so that the doctests pass.

@grlee77 grlee77 closed this Feb 21, 2018
@grlee77
grlee77 deleted the np114_doctest_fix2 branch July 20, 2018 21:27
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