Skip to content

Add tests for GMTInvalidInput for figure.py#810

Merged
seisman merged 2 commits intoGenericMappingTools:masterfrom
willschlitzer:test-figure
Jan 28, 2021
Merged

Add tests for GMTInvalidInput for figure.py#810
seisman merged 2 commits intoGenericMappingTools:masterfrom
willschlitzer:test-figure

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