-
Notifications
You must be signed in to change notification settings - Fork 213
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
Remove the pygmt.test
function from pygmt/__init__.py?
#2633
Comments
Agree with removing it. There is also no code coverage currently for this The only reference I found of |
Actually, we do have it documented at https://www.pygmt.org/v0.9.0/api/generated/pygmt.test.html, but I don't think it would be a breaking change since |
Yes to me. |
The
pygmt/__init__.py
file provides atest
function:pygmt/pygmt/__init__.py
Line 187 in e4ee800
With this test function, users can run
pygmt.test()
to run the full tests.I think we should remove this function based on the following reasons:
pygmt.test()
is useless for regular users, because the baseline images hosted by DVC are not available in regular pip/conda packages.test
/fulltest
/doctest
/test_no_images
to test PyGMT, and no one has usedpygmt.test
before.pygmt.test()
function is not documented in the current documentation, so removing it won't cause any backward-incompatibility. Related PR: Remove "Full test" section from the installation guide #1200Let's have a vote: 👍 for removing it and 👎 for keeping it. Or you can leave your thoughts/comments here.
The text was updated successfully, but these errors were encountered: