Skip to content

Commit b408001

Browse files
committed
Replace unittest assertEquals with assertEqual since it was deprecated in python 3.12
1 parent cae8258 commit b408001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/L0_backend_vllm/enabled_stream/enabled_stream_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def request_iterator():
7272
result, error = response
7373
if expect_error:
7474
self.assertIsInstance(error, InferenceServerException)
75-
self.assertEquals(
75+
self.assertEqual(
7676
error.message(),
7777
"Error generating stream: When streaming, `exclude_input_in_output` = False is not allowed.",
7878
error,

0 commit comments

Comments
 (0)