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

Figure.savefig: Add a new test for the show parameter and simplify existing tests. #3568

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

seisman
Copy link
Member

@seisman seisman commented Oct 31, 2024

  1. Get rid of try-except in test_figure_savefig_geotiff
  2. Simplify test_figure_savefig with unittest.mock
  3. Add one more test for Figure.savefig(show=True) [Increase code coverage to 98.74%]

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Oct 31, 2024
@seisman seisman added this to the 0.14.0 milestone Oct 31, 2024
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. labels Nov 4, 2024
@seisman seisman merged commit 3ad94d9 into main Nov 5, 2024
18 checks passed
@seisman seisman deleted the tests/savefig branch November 5, 2024 03:03
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Nov 5, 2024
seisman added a commit that referenced this pull request Nov 18, 2024
…isting tests. (#3568)

* Get rid of try-except in test_figure_savefig_geotiff
* Simplify test_figure_savefig_unknown_extension
* Simplify test_figure_savefig with unittest.mock
* Add one more test for Figure.savefig(show=True)
seisman added a commit that referenced this pull request Nov 18, 2024
…isting tests. (#3568)

* Get rid of try-except in test_figure_savefig_geotiff
* Simplify test_figure_savefig_unknown_extension
* Simplify test_figure_savefig with unittest.mock
* Add one more test for Figure.savefig(show=True)
seisman added a commit that referenced this pull request Nov 18, 2024
…isting tests. (#3568)

* Get rid of try-except in test_figure_savefig_geotiff
* Simplify test_figure_savefig_unknown_extension
* Simplify test_figure_savefig with unittest.mock
* Add one more test for Figure.savefig(show=True)
seisman added a commit that referenced this pull request Nov 18, 2024
…isting tests. (#3568)

* Get rid of try-except in test_figure_savefig_geotiff
* Simplify test_figure_savefig_unknown_extension
* Simplify test_figure_savefig with unittest.mock
* Add one more test for Figure.savefig(show=True)
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 skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant