Skip to content

Commit 38c698c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 95a25c3 commit 38c698c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

testing/test_gateway.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,13 +661,11 @@ def test_concurrent_rinfo(execmodel: gateway_base.ExecModel) -> None:
661661
sleep_time = 1.5 if execmodel.backend == "main_thread_only" else 0.5
662662
try:
663663
ch = gw.remote_exec(
664-
"""
664+
f"""
665665
import os, time
666666
time.sleep({sleep_time})
667667
channel.send(os.getpid())
668-
""".format(
669-
sleep_time=sleep_time
670-
)
668+
"""
671669
)
672670
if execmodel.backend == "main_thread_only":
673671
assert hasattr(gw, "_cache_rinfo")

0 commit comments

Comments
 (0)