Skip to content

Commit fddeafc

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent b53e250 commit fddeafc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/click/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def visible_input(prompt: str | None = None) -> str:
343343
sys.stdout.write(prompt or "")
344344
try:
345345
val = next(text_input).rstrip("\r\n")
346-
except StopIteration as e:
346+
except StopIteration:
347347
raise EOFError()
348348
sys.stdout.write(f"{val}\n")
349349
sys.stdout.flush()

0 commit comments

Comments
 (0)