Try/except for unittest2