Use `assertIsNone` instead.