mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 08:47:49 +08:00
Partially Use f string (#10218)
* flynt. trial 1. * Trial 1. * Addressed code review.
This commit is contained in:
@@ -121,7 +121,7 @@ def wait_for_pid_to_exit(pid, timeout=20):
|
||||
return
|
||||
time.sleep(0.1)
|
||||
raise RayTestTimeoutException(
|
||||
"Timed out while waiting for process {} to exit.".format(pid))
|
||||
f"Timed out while waiting for process {pid} to exit.")
|
||||
|
||||
|
||||
def wait_for_children_of_pid(pid, num_children=1, timeout=20):
|
||||
|
||||
Reference in New Issue
Block a user