code: def test_restore_best_without_save_best_only(self):
      with self.assertRaises(ValueError):
          ModelCheckpoint(
              self.checkpoint_filename,
              monitor="val_loss",
              verbose=True,
              save_best_only=False,
              restore_best=True,
          )
  
      with self.assertRaises(ValueError):
          ModelCheckpoint(
              self.checkpoint_filename,
              monitor="val_loss",
              verbose=True,
              restore_best=True,
          )
  
imports: import os
  import unittest
  from tempfile import TemporaryDirectory
  from unittest import TestCase
  import torch
  import torch.nn
  from poutyne import Model, ModelCheckpoint, torch_to_numpy
  from tests.framework.tools import some_data_generator
label_desc: Use image node_id 9 for calling the ModelCheckpointTest obj's underlying member method code with example usage: obj.test_restore_best_without_save_best_only() without return types