Stop using assertIsNone as its not backwards compatible.