Better handle conditional dependency on unittest2.