diff --git a/python/ray/tests/test_failure.py b/python/ray/tests/test_failure.py index 0edd05766..4e70e1f81 100644 --- a/python/ray/tests/test_failure.py +++ b/python/ray/tests/test_failure.py @@ -246,7 +246,6 @@ def temporary_helper_function(): def test_failed_actor_init(ray_start_regular, error_pubsub): - p = error_pubsub error_message1 = "actor constructor failed" error_message2 = "actor method failed" @@ -264,7 +263,6 @@ def test_failed_actor_init(ray_start_regular, error_pubsub): def test_failed_actor_method(ray_start_regular, error_pubsub): - p = error_pubsub error_message2 = "actor method failed" @ray.remote diff --git a/python/ray/tests/test_multi_node.py b/python/ray/tests/test_multi_node.py index 52106c747..3cf73fa5d 100644 --- a/python/ray/tests/test_multi_node.py +++ b/python/ray/tests/test_multi_node.py @@ -71,7 +71,7 @@ except Exception as e: pass print("success") -""".format(address, error_string2, error_string2) +""".format(address, error_string2) out = run_string_as_driver(driver_script) # Make sure the other driver succeeded.