Fix py26 testing for OSX, assertIsNotNone unavailable for py26