mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
Remove (object) from class declarations. (#6658)
This commit is contained in:
committed by
Philipp Moritz
parent
f1b56fa5ee
commit
39a3459886
@@ -48,7 +48,7 @@ def test_submitting_many_tasks(ray_start_sharded):
|
||||
|
||||
def test_submitting_many_actors_to_one(ray_start_sharded):
|
||||
@ray.remote
|
||||
class Actor(object):
|
||||
class Actor:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@@ -56,7 +56,7 @@ def test_submitting_many_actors_to_one(ray_start_sharded):
|
||||
return
|
||||
|
||||
@ray.remote
|
||||
class Worker(object):
|
||||
class Worker:
|
||||
def __init__(self, actor):
|
||||
self.actor = actor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user