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

Replacing nose #86

Closed
jayvdb opened this issue Jun 8, 2020 · 2 comments · Fixed by #89
Closed

Replacing nose #86

jayvdb opened this issue Jun 8, 2020 · 2 comments · Fixed by #89

Comments

@jayvdb
Copy link

jayvdb commented Jun 8, 2020

nose is apparently going to break in Python 3.10 due to one of the pending deprecation.
It seems to have survived the cut of Python 3.9, but only just. See nose-devs/nose#1099

Is there a plan/preference to replace nose?

@jrconlin
Copy link
Member

jrconlin commented Jun 8, 2020

Thanks for that. I'll admit I've not been paying a ton of attention to nose.

I believe that pytest is a reasonable replacement for nose, with much the same approach, although I've not dived all that deep into seeing how to migrate the tests over to pytest.

@tirkarthi
Copy link

nose will stop working from Python 3.10. It seems the project uses eq_ and ok_ from nose. These can be converted into pytest style assertions with https://github.com/pytest-dev/nose2pytest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants