Update deprecated Python 3.8 typing (#13971)
This commit is contained in:
@@ -155,7 +155,7 @@ def test_an_error_is_raised_when_custom_logging_config_is_unexpected_json(
|
||||
with pytest.raises(ValueError) as ex_info:
|
||||
_configure_vllm_root_logger()
|
||||
assert ex_info.type == ValueError # noqa: E721
|
||||
assert "Invalid logging config. Expected Dict, got" in str(ex_info)
|
||||
assert "Invalid logging config. Expected dict, got" in str(ex_info)
|
||||
|
||||
|
||||
@patch("vllm.logger.VLLM_CONFIGURE_LOGGING", 1)
|
||||
|
||||
Reference in New Issue
Block a user