From b408001b0a99ecebd45fe1d9e68ae3e14c45f193 Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Fri, 15 Nov 2024 18:26:50 -0800 Subject: [PATCH] Replace unittest assertEquals with assertEqual since it was deprecated in python 3.12 --- ci/L0_backend_vllm/enabled_stream/enabled_stream_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/L0_backend_vllm/enabled_stream/enabled_stream_test.py b/ci/L0_backend_vllm/enabled_stream/enabled_stream_test.py index 5d82333e..79452609 100644 --- a/ci/L0_backend_vllm/enabled_stream/enabled_stream_test.py +++ b/ci/L0_backend_vllm/enabled_stream/enabled_stream_test.py @@ -72,7 +72,7 @@ async def request_iterator(): result, error = response if expect_error: self.assertIsInstance(error, InferenceServerException) - self.assertEquals( + self.assertEqual( error.message(), "Error generating stream: When streaming, `exclude_input_in_output` = False is not allowed.", error,