Skip to content

Commit 08f8383

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5f39196 commit 08f8383

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_reply(kc, msg_id, timeout=TIMEOUT, channel="shell"):
6565
def get_replies(kc, msg_ids: list[str], timeout=TIMEOUT, channel="shell"):
6666
# Get replies which may arrive in any order as they may be running on different subshells.
6767
# Replies are returned in the same order as the msg_ids, not in the order of arrival.
68-
#t0 = time()
68+
# t0 = time()
6969
count = 0
7070
replies = [None] * len(msg_ids)
7171
while count < len(msg_ids):
@@ -78,9 +78,9 @@ def get_replies(kc, msg_ids: list[str], timeout=TIMEOUT, channel="shell"):
7878
except ValueError:
7979
# Allow debugging ignored replies
8080
print(f"Ignoring reply not to any of {msg_ids}: {reply}")
81-
#t1 = time()
82-
#timeout -= t1 - t0
83-
#t0 = t1
81+
# t1 = time()
82+
# timeout -= t1 - t0
83+
# t0 = t1
8484
return replies
8585

8686

0 commit comments

Comments
 (0)