mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 17:56:52 +08:00
[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)
This commit is contained in:
@@ -36,7 +36,7 @@ def test_errors_before_initializing_ray():
|
||||
for api_method in api_methods:
|
||||
print(api_method)
|
||||
with pytest.raises(
|
||||
ray.exceptions.RayConnectionError,
|
||||
ray.exceptions.RaySystemError,
|
||||
match="Ray has not been started yet."):
|
||||
api_method()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user