python/ray/tune/tests/test_ray_trial_executor.py
def testNoResetTrial(self):
        """Tests that reset handles NotImplemented properly."""
        trial = Trial("__fake")
        self._simulate_starting_trial(trial)
        exists = self.trial_executor.reset_trial(trial, {}, "modified_mock")
        self.assertEqual(exists, False)
        self.assertEqual(Trial.RUNNING, trial.status)
Tests that reset handles NotImplemented properly.
Tests that reset handles NotImplemented properly.
Tests that reset handles NotImplemented properly .
def testNoResetTrial(self):
        trial = Trial("__fake")
        self._simulate_starting_trial(trial)
        exists = self.trial_executor.reset_trial(trial, {}, "modified_mock")
        self.assertEqual(exists, False)
        self.assertEqual(Trial.RUNNING, trial.status)
def testNoResetTrial ( self ) : trial = Trial ( "__fake" ) self . _simulate_starting_trial ( trial ) exists = self . trial_executor . reset_trial ( trial , { } , "modified_mock" ) self . assertEqual ( exists , False ) self . assertEqual ( Trial . RUNNING , trial . status )
Tests that reset handles NotImplemented properly.
Tests that reset handles NotImplemented properly .
"""Tests that reset handles NotImplemented properly."""
self