Re: Axiom Testing

Glyph Lefkowitz <[email protected]> Sat, 11 Feb 2006 01:46:17 -0500
Newsgroups gmane.comp.python.quotient.dev
Message-ID <[email protected]>
On Fri, 2006-02-10 at 16:50 -0300, Gabriel Jacobo wrote:

> If I load the test script in the command line python interpreter, no
> exception is raised...or if it is, something else catches it and hides
> it and nothing strange happens when viewed from outside (the test
> object creation takes place).

Most likely there is an exception raised, and then later caught, and
Wing IDE is just breaking into the debugger to let you know about it.
We don't often use exceptions for control flow, but raising
AttributeError is just How You Do It, mandated by Python, in this case.
I am pretty sure Wing has a feature somewhere that will let you
specifically say "ignore this exception and don't break into the
debugger for it".