nose-devs / nose

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

nose + coverage 5.0.3 only works when passing --debug #1102

Open bcl opened 4 years ago

bcl commented 4 years ago

eg. https://travis-ci.org/pykickstart/pykickstart/jobs/633961082

I had previously thought it was related to https://github.com/nedbat/coveragepy/issues/916 but as you can see it is pulling in v5.0.3 and still failing. While trying to debug locally with a venv populated from the pykickstart requirements.txt I could reproduce the failure, but not track down the reason.

One strange bit of behavior is that if I passed --debug to nose it would succeed. If I added --debug-log=/tmp/nose-debug.log it would fail again.

It looks like nose is unmaintained, so I'm mostly putting this here as a warning to others. I've pinned my coverage version to < 5.0.0 until I find a nose replacement.