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

Add tests for GMTInvalidInput for figure.py #810

Merged
merged 2 commits into from
Jan 28, 2021

Conversation

willschlitzer
Copy link
Contributor

This adds testing for two GMTInvalidInput errors in figure.py. The lines were reported as missing coverage by pytest.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.

Notes

  • You can write /format in the first line of a comment to lint the code automatically

@seisman seisman added the maintenance Boring but important stuff for the core devs label Jan 28, 2021
@seisman seisman added this to the 0.3.0 milestone Jan 28, 2021
@seisman seisman merged commit 44a5051 into GenericMappingTools:master Jan 28, 2021
@willschlitzer willschlitzer deleted the test-figure branch January 29, 2021 00:59
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
* Add test for savefig invalid file extension
* Add test for invalid show method passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants