From 1b373909d3beca26c88689b8e6d0d20d283547aa Mon Sep 17 00:00:00 2001 From: kaihsun Date: Thu, 23 May 2024 07:45:29 +0000 Subject: [PATCH] update Signed-off-by: kaihsun --- python/ray/tests/test_job.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/python/ray/tests/test_job.py b/python/ray/tests/test_job.py index f440e23154db..6616421454a4 100644 --- a/python/ray/tests/test_job.py +++ b/python/ray/tests/test_job.py @@ -193,7 +193,7 @@ def test_config_metadata(shutdown_only): assert dict(from_worker.metadata) == job_config.metadata -class TestPyLogConfig: +class TestPyLoggingConfig: def test_serialized_log_config_dict(self): py_logging_config = LoggingConfig({"abc": "xyz"}) serialized_py_logging_config = pickle.dumps(py_logging_config) @@ -208,14 +208,6 @@ def test_log_config_str(self): pb = job_config._get_proto_job_config() assert pb.serialized_py_logging_config == serialized_py_logging_config - def test_read_log_config_from_json(self): - py_logging_config = LoggingConfig({"abc": "xyz"}) - serialized_py_logging_config = pickle.dumps(py_logging_config) - job_config_json = {"py_logging_config": py_logging_config} - job_config = JobConfig.from_json(job_config_json) - pb = job_config._get_proto_job_config() - assert pb.serialized_py_logging_config == serialized_py_logging_config - def test_get_entrypoint(): get_entrypoint = """