>> >>> try: >> ... assert 0 == 1 >> ... except AssertionError, e: >> ... print e >> ... >> 0 == 1 > >Why do you want to do that? Usually, you use assertions for things you >believe are necessarily true. but-that-still-leaves-being-able-to-catch-the-assertion-when-it-fails ly-yrs C