diff --git a/tests/st/ops/ascend/test_tbe_ops/test_parallel_compilation.py b/tests/st/ops/ascend/test_tbe_ops/test_parallel_compilation.py index c5906278fa0..ff6d43c6965 100644 --- a/tests/st/ops/ascend/test_tbe_ops/test_parallel_compilation.py +++ b/tests/st/ops/ascend/test_tbe_ops/test_parallel_compilation.py @@ -47,8 +47,7 @@ class TestCompile: print("Process Logs:") for item in compile_result_json["process_info"]: print("### LogLevel:" + str(item["level"]) + " " + item["message"]) - res_json = json.loads(res) - if res_json["status"] == "FAILED": + if compile_result_json["status"] == "FAILED": print("Compile Failed") return False