Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ruiyang Wang <rywang014@gmail.com>
  • Loading branch information
rynewang committed Jun 15, 2023
1 parent dee1b0c commit 2533f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ray/tests/test_ray_init_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def test_hosted_external_dashboard_url(override_url, shutdown_only, monkeypatch)
expected_dashboard_url = "127.0.0.1:8265"
elif "://" in override_url:
# External dashboard url with https protocol included
expected_dashboard_url = override_url[override_url.index("://") + 3:]
expected_dashboard_url = override_url[override_url.index("://") + 3 :]
else:
# External dashboard url with no protocol
expected_dashboard_url = override_url
Expand Down Expand Up @@ -329,7 +329,7 @@ def test_get_ray_address_from_environment(monkeypatch):
def test_temp_dir_must_be_absolute(shutdown_only):
# This test fails with a relative path _temp_dir.
with pytest.raises(ValueError):
ray.init(_temp_dir='relative_path')
ray.init(_temp_dir="relative_path")


if __name__ == "__main__":
Expand Down

0 comments on commit 2533f94

Please sign in to comment.