code: def test_stop_with_proba_none(self):
      stopping_criterion = OverallUncertainty(2)
  
      with self.assertRaisesRegex(
          ValueError, "indices_stopping must not be None"
      ):
          stopping_criterion.stop()
  
      with self.assertRaisesRegex(
          ValueError, "indices_stopping must not be None"
      ):
          stopping_criterion.stop(proba=None)
  
file_path: small-text/tests/unit/small_text/stopping_criteria/test_uncertainty.py
imports: import unittest
  import numpy
  from small_text.stopping_criteria.uncertainty import OverallUncertainty
label_desc: Use image node_id 7 for calling the OverallUncertaintyTest obj's underlying member method code with example usage: obj.test_stop_with_proba_none() without return types