mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
Change ray.worker.cleanup -> ray.shutdown and improve API documentation. (#2374)
* Change ray.worker.cleanup -> ray.shutdown and improve API documentation. * Deprecate ray.worker.cleanup() gracefully. * Fix linting
This commit is contained in:
committed by
Philipp Moritz
parent
b316afeb43
commit
515da7721a
+2
-2
@@ -18,7 +18,7 @@ if sys.version_info >= (3, 0):
|
||||
|
||||
class RemoteArrayTest(unittest.TestCase):
|
||||
def tearDown(self):
|
||||
ray.worker.cleanup()
|
||||
ray.shutdown()
|
||||
|
||||
def testMethods(self):
|
||||
for module in [
|
||||
@@ -55,7 +55,7 @@ class RemoteArrayTest(unittest.TestCase):
|
||||
|
||||
class DistributedArrayTest(unittest.TestCase):
|
||||
def tearDown(self):
|
||||
ray.worker.cleanup()
|
||||
ray.shutdown()
|
||||
|
||||
def testAssemble(self):
|
||||
for module in [
|
||||
|
||||
Reference in New Issue
Block a user