[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)

This commit is contained in:
Eric Liang
2020-08-28 19:57:02 -07:00
committed by GitHub
parent b1f3c9e10e
commit 2a204260a8
37 changed files with 180 additions and 204 deletions
@@ -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()