mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
Update test_trial_scheduler.py (#4710)
This commit is contained in:
1 parent
d7d2694b57
commit
b1c9ea7ffc
1 file changed
-2
@@ -886,8 +886,6 @@ class PopulationBasedTestingSuite(unittest.TestCase):
|
||||
|
||||
def testLogConfig(self):
|
||||
def check_policy(policy):
|
||||
self.assertIsInstance(policy[0], str)
|
||||
self.assertIsInstance(policy[1], str)
|
||||
self.assertIsInstance(policy[2], int)
|
||||
self.assertIsInstance(policy[3], int)
|
||||
self.assertIn(policy[0], ["0tag", "2tag", "3tag", "4tag"])
|
||||
|
||||
Reference in new issue
Block a user