Commit 8cb56357 authored by Igor Saprykin's avatar Igor Saprykin Committed by TensorFlower Gardener
Browse files

Cover CheckpointState in the tf.Saver's unit tests.

We know that there is a depenedency between the `_MaybeDeleteOldCheckpoints` call and the `_update_checkpoint_state` call via `self.last_checkpoints`.  Yet, when I re-arrange the lines none of tests fail.  With the increased coverage, the dependency becomes explicit, which is helpful when changing the saver's implementation.

PiperOrigin-RevId: 168744975
parent 871a07dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment