Fix skipping setUpClass with self.skipException

Change-Id: I1f314c91c4e852edafabc7cf3d2b01abe8a62fa3