code: def test_abstract_raises(self):
      with self.assertRaises(TypeError):
          StoppingCriterion()
  
file_path: botorch/test/optim/test_stopping.py
imports: from __future__ import annotations
  import torch
  from botorch.optim.stopping import ExpMAStoppingCriterion, StoppingCriterion
  from botorch.utils.testing import BotorchTestCase
label_desc: Use image node_id 1 for calling the TestStoppingCriterion obj's underlying member method code with example usage: obj.test_abstract_raises() without return types