Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Nov 14, 2023
1 parent fb58768 commit 4042f0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,4 +491,6 @@ def main2() -> None:
raise ValueError("This shouldn't be caught by tyro")

with pytest.raises(ValueError):
tyro.extras.subcommand_cli_from_dict({"main1": main1, "main2": main2}, args=["main1"])
tyro.extras.subcommand_cli_from_dict(
{"main1": main1, "main2": main2}, args=["main1"]
)

0 comments on commit 4042f0d

Please sign in to comment.