python/ray/tune/tests/test_ray_trial_executor.py
def testAsyncSave(self):
        """Tests that saved checkpoint value not immediately set."""
        trial = Trial("__fake")
        self._simulate_starting_trial(trial)

        self._simulate_getting_result(trial)

        self._simulate_saving(trial)

        self.trial_executor.stop_trial(trial)
        self.assertEqual(Trial.TERMINATED, trial.status)
Tests that saved checkpoint value not immediately set.
Tests that saved checkpoint value not immediately set.
Tests that saved checkpoint value not immediately set .
def testAsyncSave(self):
        trial = Trial("__fake")
        self._simulate_starting_trial(trial)
        self._simulate_getting_result(trial)
        self._simulate_saving(trial)
        self.trial_executor.stop_trial(trial)
        self.assertEqual(Trial.TERMINATED, trial.status)
def testAsyncSave ( self ) : trial = Trial ( "__fake" ) self . _simulate_starting_trial ( trial ) self . _simulate_getting_result ( trial ) self . _simulate_saving ( trial ) self . trial_executor . stop_trial ( trial ) self . assertEqual ( Trial . TERMINATED , trial . status )
Tests that saved checkpoint value not immediately set.
Tests that saved checkpoint value not immediately set .
"""Tests that saved checkpoint value not immediately set."""
self