def METHOD_NAME(self):
    with self.assertRaises(ValueError) as cm:
        GridMapping.from_dataset(xr.Dataset())
    self.assertEqual('cannot find any grid mapping in dataset',
                     f'{cm.exception}')