code: def test_abstract_raises(self):
      with self.assertRaises(TypeError):
          CostAwareUtility()
  
file_path: botorch/test/acquisition/test_cost_aware.py
imports: import warnings
  import torch
  from botorch import settings
  from botorch.acquisition.cost_aware import CostAwareUtility, GenericCostAwareUtility, InverseCostWeightedUtility
  from botorch.exceptions.warnings import CostAwareWarning
  from botorch.models.deterministic import GenericDeterministicModel
  from botorch.sampling import IIDNormalSampler
  from botorch.utils.testing import BotorchTestCase, MockModel, MockPosterior
label_desc: Use image node_id 1 for calling the TestCostAwareUtilities obj's underlying member method code with example usage: obj.test_abstract_raises() without return types