On 8/4/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
now that one does pass, but then if you have more then one exception to catch, they you will have to print out the exception name or something. I believe for now using Alberto's idea is better. although I posted a ticket and I got the correct answer. http://nose.python-hosting.com/ticket/80import nose.tools
@nose.tools.raises(NotImplementedError)
def test_something():
...
Ok I just browser their trac and this feature was added in rev 62 so it's only on nose 0.9.0 and above.
that's already on pypi so easy_install -U nose works.
Can we get this upgrade on the next TG alpha?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

