nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

Make coverage plugin compatible with Coverage.py 4.1 #1004

Open mitya57 opened 8 years ago

mitya57 commented 8 years ago

According to the Coverage.py 4.1 changelog:

Without that option, four tests in nose fail:

The example of the failure can be seen in https://bugs.debian.org/828224.

opoplawski commented 7 years ago

Needed to apply this to the Fedora python-nose package to get it to pass tests with converage 4.2, so +1 here.

jszakmeister commented 7 years ago

Nose is unmaintained. Unless someone else takes over maintainership, it's not going to happen. Sorry.

johnyf commented 7 years ago

Is nose2 planned to replace nose? In other words, is it worth for a new maintainer to adopt nose, or should we instead turn our attention to nose2?

In case of the latter, then a note could be added to the README of nose, in order to point people to nose2.

jszakmeister commented 7 years ago

There is a note on the main page of the docs: http://nose.readthedocs.io/en/latest/

Yes, I think you should be looking at Nose 2. It's not compatible with Nose 1.x though. Make sure to read the caveats.

Also, the README is auto-generated. If you put together a proper patch to document that fact, then I'll merge it.

johnyf commented 7 years ago

Thanks for the information. I'll try to create a patch for the code that generates the README.