Skip to content

Conversation

@emilazy
Copy link

@emilazy emilazy commented Jul 28, 2024

nose has been deprecated and unmaintained for close to a decade now, and doesn’t work on Python 3.12. This migrates the tests and their runner to pytest. One set of parameterized tests was not executing due to a return where a yield should be, and I had to add a missing expected result to fix it, so this actually improves coverage!

Most of the conversion was done mechanically with https://github.com/pytest-dev/nose2pytest, so you might want to skip that commit when reviewing (it can be recreated locally with nose2pytest .).

There are still a bunch of deprecation warnings left in the codebase and the six dependency should probably go, but this unblocked my current nose clean‐up work in Nixpkgs.

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.

1 participant