def METHOD_NAME(self, import_module_mock):
    """Ensure that we return True if we can import on a platform with special error handling"""
    self.assertTrue(
        is_importable_on_platform(
            ".foo", "bar", ImportError, "darwin", "Some message"
        )
    )