EducationalTestingService / skll

SciKit-Learn Laboratory (SKLL) makes it easy to run machine learning experiments.
http://skll.readthedocs.org
Other
552 stars 67 forks source link

Migrate tests to `nose2` instead of `nose` #747

Closed desilinguist closed 1 year ago

desilinguist commented 1 year ago

This PR closes #746.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (9e501a9) 95.24% compared to head (3a28d57) 95.24%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #747 +/- ## ======================================= Coverage 95.24% 95.24% ======================================= Files 29 29 Lines 3578 3578 ======================================= Hits 3408 3408 Misses 170 170 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/EducationalTestingService/skll/pull/747/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EducationalTestingService)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

mulhod commented 1 year ago

There are still references to nosetests in CONTRIBUTING.md. Also it is said there that python=3.10 is required for setting up a development environment. Maybe that's still true for other reasons, but I think it should be considered. I actually set up an environment that uses 3.11 and I think the unit tests are running fine with nose2.

desilinguist commented 1 year ago

There are still references to nosetests in CONTRIBUTING.md. Also it is said there that python=3.10 is required for setting up a development environment. Maybe that's still true for other reasons, but I think it should be considered. I actually set up an environment that uses 3.11 and I think the unit tests are running fine with nose2.

Good catch on CONTRIBUTING.md. As for Python 3.11, there's a separate issue #744 for that which I will work on after this one is merged. As part of that, I will also be switching the Azure build to 3.11 from 3.9.

mulhod commented 1 year ago

All unit tests passed with 3.11.