def METHOD_NAME(self):
    """Test that training checkpointing works in general."""
    # First run the entire test.
    trainer = self.__original_setup(test_checkpoint_name, 40)
    trainer.train_network()
    original_final_test_loss = trainer.final_test_loss
    # Now do the same, but cut at epoch 22 and see if it recovers the
    # correct result.
    trainer = self.__original_setup(test_checkpoint_name, 22)
    trainer.train_network()
    trainer = self.__resume_checkpoint(test_checkpoint_name, 40)
    trainer.train_network()
    new_final_test_loss = trainer.final_test_loss
    assert np.isclose(original_final_test_loss, new_final_test_loss,
                      atol=accuracy)