Make sure we get a stack trace on assertion

I'm no python wizard, so I don't know if this one-liner will work, but it doesn't seem to break cfx at least.