pytroll / pyresample

Geospatial image resampling in Python
http://pyresample.readthedocs.org
GNU Lesser General Public License v3.0
348 stars 94 forks source link

Switch test area fixtures to session-scoped #573

Closed djhoese closed 9 months ago

djhoese commented 9 months ago

No need to create them for every test. Additionally this fixes a test failure caused by one PR refactoring the imports of another that were both merged at essentially the same time.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (e7116c9) 94.23% compared to head (ebe4b67) 94.05%. Report is 10 commits behind head on main.

Files Patch % Lines
pyresample/test/test_geometry/conftest.py 74.54% 28 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #573 +/- ## ========================================== - Coverage 94.23% 94.05% -0.18% ========================================== Files 87 90 +3 Lines 13484 13575 +91 ========================================== + Hits 12706 12768 +62 - Misses 778 807 +29 ``` | [Flag](https://app.codecov.io/gh/pytroll/pyresample/pull/573/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytroll) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/pytroll/pyresample/pull/573/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytroll) | `94.05% <92.15%> (-0.18%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytroll#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.