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
Loading
Please sign in to comment