nipy / nitransforms

a standalone fork of nipy/nibabel#656
https://nitransforms.readthedocs.io
MIT License
28 stars 15 forks source link

TEST: Fix tests for Python 3.12, numpy 2.0, and pytest-xdist #210

Closed effigies closed 3 weeks ago

effigies commented 3 weeks ago

This a quick hack to get tests working.

We should purge pkg_resources and use importlib.resources, but I don't have the energy for that right now.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.79%. Comparing base (66001b1) to head (4d2f4c7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #210 +/- ## ======================================= Coverage 95.79% 95.79% ======================================= Files 14 14 Lines 1307 1307 Branches 259 259 ======================================= Hits 1252 1252 Misses 52 52 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/nipy/nitransforms/pull/210/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipy) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nipy/nitransforms/pull/210/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipy) | `95.79% <100.00%> (ø)` | | 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=nipy#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.