Skip to content

Commit 6233289

Browse files
committed
Use typing.List instead of list in test_others.
1 parent c0aba28 commit 6233289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_others.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def test_multiple_options_separator_1_unsupported_separator():
262262
app = typer.Typer()
263263

264264
@app.command()
265-
def main(names: list[str] = typer.Option(..., multiple_separator="\t \n")):
265+
def main(names: typing.List[str] = typer.Option(..., multiple_separator="\t \n")):
266266
print("Hello World")
267267

268268
with pytest.raises(typer.UnsupportedMultipleSeparatorError) as exc_info:

0 commit comments

Comments
 (0)