Skip to content

Commit 4ad63f1

Browse files
committed
skel/testing_tool_multi_pass.py: Small consistency fixes
1 parent dc5f889 commit 4ad63f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ def single_pass(action: str, words: list[str]) -> list[str]:
7070
assert p.stdin is not None and p.stdout is not None
7171

7272
raw = "\n".join([action, str(len(words)), *words])
73-
(stdout, stderr) = p.communicate(input=raw)
73+
stdout, stderr = p.communicate(input=raw)
7474
output = [line.strip() for line in stdout.strip().split("\n") if line.strip()]
7575

7676
assert len(output) == len(words), (
77-
f"Your submission printed {len(output)} words, expected {len(words)} words."
77+
f"Your submission printed {len(output)} words, expected {len(words)} words"
7878
)
7979
print(f"{action} exit code: {p.returncode}")
8080
print(f"{action} output:")

0 commit comments

Comments
 (0)