code: def _test_restore_best(self, val_losses):
      final_weights = torch_to_numpy(self.model.get_weight_copies())
  
      epoch = val_losses.index(min(val_losses)) + 1
      best_epoch_filename = self.checkpoint_filename.format(epoch=epoch)
      self.model.load_weights(best_epoch_filename)
  
      best_weights = torch_to_numpy(self.model.get_weight_copies())
  
      self.assertEqual(best_weights, final_weights)
  
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 15 for calling the ModelCheckpointTest obj's underlying member method code with example usage: obj._test_restore_best(val_losses) without return types