Move import into try block so we don't break python2.6 without unittest2.