def METHOD_NAME(self):
    completeness_table = np.zeros((10, 2))
    catalogue = {'year': [1900]}
    config = {'Average Type': ['fake']}
    self.assertRaises(ValueError, self.b_ml.calculate, catalogue,
                      config, completeness_table)