nose-devs / nose

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

with coverage failing on code using peak rules #277

Open jpellerin opened 12 years ago

jpellerin commented 12 years ago

I'm trying to do some coverage tests on my code which uses Peak Rules dispatching.

When running 'nosetests --with-coverage' I get trace attached.

I've tried with with nose-0.10.3-py2.5.egg and nose-0.9.2.dev_r143-py2.5.egg

I'm presuming that it is something to do with DecoratorTools and sys.settrace - similar discussions were hade about pydev and turbogears debugging. (http://www.eby-sarna.com/pipermail/peak/2008-June/002992.html)

Google Code Info: Issue #: 199 Author: tim.par...@gmail.com Created On: 2008-07-28T13:28:53.000Z Closed On:

jpellerin commented 12 years ago

What does file "2.5/src/debug/tserver/dbgserver.pyc" do? Could that be the source of the problem?

Google Code Info: Author: j...@pobox.com Created On: 2008-07-30T20:32:20.000Z

jpellerin commented 12 years ago

Many thanks for spotting this.. It was a rogue wingdbstub from WingIDE - I'll check to see if there is a way of avoiding it within the wing debugger.

Google Code Info: Author: tim.par...@gmail.com Created On: 2008-07-31T08:18:45.000Z