Nosetest deprecated for nose2

I must be reading learn python the hard way 1st edition. Should I just keep using nosetest instead of learning in’s and out’s of nose2? Both work fine.

No, sadly nosetest was discontinued right about the time I published. You can still get it, and it works, but I need to rework the book for the next printing to use pytest.

If you want, go get pytest and use that. It’s way better anyway.

Must make your life a bit of a nightmare, I’ll have a look at it thank you. Have a lovely weekend

Pytest documentation is confusing but then so was setup.py, and just about all other documents programmers write, exception @zedshaw.

I think my eye balls are hurting! (<<<see attached picture for clarification)

Here’s a link to using pytest with tests written for nose (nosetests). https://pytest.readthedocs.io/en/2.7.3/nose.html

pytest