Skip to content

Commit

Permalink
Missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangalamb committed Apr 25, 2023
1 parent 452fc6f commit 4c0d058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_ambiguous_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def cmd(my_param: Annotated[str, "someval", typer.Argument(), 4] = "hello"):
)
def test_forbid_default_factory_and_default_value_in_annotated(param, param_info_type):
def make_string():
return "foo"
return "foo" # pragma: no cover

app = typer.Typer()

Expand Down Expand Up @@ -160,7 +160,7 @@ def cmd(my_param: str = param(default_factory=make_string)):
)
def test_forbid_default_and_default_factory_with_default_param(param, param_info_type):
def make_string():
return "foo"
return "foo" # pragma: no cover

app = typer.Typer()

Expand Down

0 comments on commit 4c0d058

Please sign in to comment.