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

Fix test function for empty ICGEM gdf file #345

Merged
merged 3 commits into from
Aug 26, 2022
Merged

Conversation

santisoler
Copy link
Member

The test for checking if proper errors and warnings were raised when reading an empty ICGEM gdf file was failing in my local system due to a change in the Numpy warning for the empty file. Took the opportunity to refactor the test using pytest.raises and pytest.warns to capture the errors and warnings.

@santisoler santisoler changed the title Fix test function for empty icgem file Fix test function for empty ICGEM gdf file Aug 26, 2022
@santisoler santisoler merged commit 5204a17 into main Aug 26, 2022
@santisoler santisoler deleted the icgem-empty-file-test branch August 26, 2022 18:36
@santisoler santisoler added bug Report a problem that needs to be fixed maintenance A maintenance task to improve development labels Aug 26, 2022
MGomezN added a commit that referenced this pull request Jun 7, 2023
Remove repeat sentences
<!--
Thank you for contributing a pull request to Fatiando! 💖

👆🏽 ABOVE: Describe the changes proposed and WHY you made them.

👇🏽 BELOW: Link to any relevant issue or pull request.

Please ensure you have taken a look at the CONTRIBUTING.md file 
in this repository (if available) and the general guidelines at 
https:/fatiando/community/blob/main/CONTRIBUTING.md
-->

**Relevant issues/PRs:**
<!--
Example: "Fixes #1234" / "See also #345" / "Relevant to #111"
Use keywords (e.g., Fixes, Closes) to create the links and automatically
close issues when this PR is merged. 
See https:/blog/1506-closing-issues-via-pull-requests
-->
LL-Geo added a commit that referenced this pull request Jan 13, 2024
1. Update point source use Choclo
2. Rename the kernel from kernel_g_z_spherical to
kernel_gravity_u_spherical
3. Update tesseroid associate with kernel name change
4. Update Test add Choclo



<!--
Thank you for contributing a pull request to Fatiando! 💖

👆🏽 ABOVE: Describe the changes proposed and WHY you made them.

👇🏽 BELOW: Link to any relevant issue or pull request.

Please ensure you have taken a look at the CONTRIBUTING.md file 
in this repository (if available) and the general guidelines at 
https:/fatiando/community/blob/main/CONTRIBUTING.md
-->

**Relevant issues/PRs:**
<!--
Example: "Fixes #1234" / "See also #345" / "Relevant to #111"
Use keywords (e.g., Fixes, Closes) to create the links and automatically
close issues when this PR is merged. 
See https:/blog/1506-closing-issues-via-pull-requests
-->

---------

Co-authored-by: Santiago Soler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report a problem that needs to be fixed maintenance A maintenance task to improve development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant