From b0bb0584fb6e2a293eea7620f1a83d0350bdce9f Mon Sep 17 00:00:00 2001 From: fyrestone Date: Wed, 27 May 2020 15:49:40 +0800 Subject: [PATCH] Fix fix_test_actor_method_metadata_cache (#8633) --- python/ray/tests/test_actor.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python/ray/tests/test_actor.py b/python/ray/tests/test_actor.py index 5cd56b613..43a091a42 100644 --- a/python/ray/tests/test_actor.py +++ b/python/ray/tests/test_actor.py @@ -118,12 +118,6 @@ def test_actor_method_metadata_cache(ray_start_regular): assert len(ray.actor.ActorClassMethodMetadata._cache) == 1 assert [id(x) for x in list(cache.items())[0]] == cached_data_id - # Check cache hit when @ray.remote - A2 = ray.remote(Actor) - assert id(A1.__ray_metadata__) != id(A2.__ray_metadata__) - assert id(A1.__ray_metadata__.method_meta) == id( - A2.__ray_metadata__.method_meta) - def test_actor_name_conflict(ray_start_regular): @ray.remote