mirror of
https://github.com/wassname/ray.git
synced 2026-07-30 12:30:30 +08:00
Enforce quoting style in Travis. (#4589)
This commit is contained in:
committed by
Robert Nishihara
parent
6697407ec4
commit
e88e706fcc
@@ -388,7 +388,7 @@ class AutoscalingTest(unittest.TestCase):
|
||||
rtc1.clear()
|
||||
autoscaler.update()
|
||||
# Synchronization: wait for launchy thread to be blocked on rtc1
|
||||
if hasattr(rtc1, '_cond'): # Python 3.5
|
||||
if hasattr(rtc1, "_cond"): # Python 3.5
|
||||
waiters = rtc1._cond._waiters
|
||||
else: # Python 2.7
|
||||
waiters = rtc1._Event__cond._Condition__waiters
|
||||
@@ -539,9 +539,9 @@ class AutoscalingTest(unittest.TestCase):
|
||||
|
||||
def testReportsConfigFailures(self):
|
||||
config = copy.deepcopy(SMALL_CLUSTER)
|
||||
config['provider']['type'] = 'external'
|
||||
config["provider"]["type"] = "external"
|
||||
config = fillout_defaults(config)
|
||||
config['provider']['type'] = 'mock'
|
||||
config["provider"]["type"] = "mock"
|
||||
config_path = self.write_config(config)
|
||||
self.provider = MockProvider()
|
||||
runner = MockProcessRunner(fail_cmds=["cmd1"])
|
||||
|
||||
Reference in New Issue
Block a user