From 17ad2f64cfd22ca3d28dc3c27d5961c73c8cad40 Mon Sep 17 00:00:00 2001 From: khu Date: Sun, 17 Jan 2021 20:53:13 -0800 Subject: [PATCH] fix lint --- python/ray/tests/test_failure.py | 2 -- python/ray/tests/test_multi_node.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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.