code: def test_givenDifferentMonitorMode_thenRaiseValueError(self):
      # We need to specify the metric for the mode to be properly set to "max"
      params_a = {"monitor_mode": "max", "monitor_metric": "loss"}
      params_b = {"monitor_mode": "min"}
      self.setUpTwoExperiment(a_params=params_a, b_params=params_b)
      with self.assertRaises(ValueError):
          self.test_experiment_a.is_better_than(self.test_experiment_b)
  
file_path: poutyne/tests/framework/experiment/test_is_better_than.py
imports: import os
  from tempfile import TemporaryDirectory
  from unittest import TestCase
  from unittest.mock import MagicMock, patch
  import pandas
  from torch import nn
  from poutyne import Experiment, ModelBundle
label_desc: Use image node_id 8 for calling the ExperimentIsBetterThanTest obj's underlying member method code with example usage: obj.test_givenDifferentMonitorMode_thenRaiseValueError() without return types