class_docstr: Test for when uncertainty can't be assessed with MC method.
class_docstr_tok: ["Test","for","when","uncertainty","ca","n't","be","assessed","with","MC","method","."]
docstr: Test that a value error is run if the model has no dropout.
docstr_tok: ["Test","that","a","value","error","is","run","if","the","model","has","no","dropout","."]
code: def test_missing_dropout(self):
      """Test that a value error is run if the model has no dropout."""
      with self.assertRaises(ValueError):
          predict_hrt_uncertain(model=self.model, hrt_batch=self.batch)
  
file_path: pykeen/tests/test_uncertainty.py
imports: from typing import Callable, Tuple
  import torch
  from pykeen.models import ERMLPE, TransE
  from pykeen.models.uncertainty import UncertainPrediction, predict_h_uncertain, predict_hrt_uncertain, predict_r_uncertain, predict_t_uncertain
  from tests import cases
label_desc: Use image node_id 1 for calling the UncertaintyFailureTest obj's underlying member method code with example usage: obj.test_missing_dropout() without return types