From 3e3c516890620bb200fb6933e0f0e54512fdedb8 Mon Sep 17 00:00:00 2001 From: dentiny Date: Fri, 8 Nov 2024 08:23:43 +0000 Subject: [PATCH] lint Signed-off-by: dentiny --- python/ray/tests/test_runtime_env_uv.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/ray/tests/test_runtime_env_uv.py b/python/ray/tests/test_runtime_env_uv.py index e3cd8b55d8ac..79bab0af375c 100644 --- a/python/ray/tests/test_runtime_env_uv.py +++ b/python/ray/tests/test_runtime_env_uv.py @@ -50,11 +50,8 @@ def f(): import pip return pip.__version__ - - with pytest.raises(ray.exceptions.RuntimeEnvSetupError): - ray.get(f.remote()) - with pytest.raises(ray.exceptions.RuntimeEnvSetupError) as _: + with pytest.raises(ray.exceptions.RuntimeEnvSetupError): ray.get(f.remote())