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

Floating point comparison #117

Merged
merged 1 commit into from Feb 6, 2023

Conversation

avalentino
Copy link
Contributor

Use assertAlmostEqual for floating point comparison.
This fixes a test failure on debian sid.

  • Tests added
  • Tests passed
  • Passes flake8 pyorbital

@codecov
Copy link

codecov bot commented Feb 4, 2023

Codecov Report

Merging #117 (5590f65) into main (5fb4528) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #117   +/-   ##
=======================================
  Coverage   87.04%   87.04%           
=======================================
  Files          13       13           
  Lines        2054     2054           
=======================================
  Hits         1788     1788           
  Misses        266      266           
Flag Coverage Δ
unittests 87.04% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pyorbital/tests/test_geoloc.py 94.33% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@djhoese
Copy link
Member

djhoese commented Feb 6, 2023

Thanks!

@djhoese djhoese merged commit de60a9b into pytroll:main Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants