Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 22, 2024
1 parent 3d63cc0 commit e56465c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@


@contextlib.contextmanager
def patch_cli(*args: tuple[str], target: str = "sys.argv"):
with patch(target, list(args)):
def patch_cli(*args: list[str], target: str = "sys.argv"):
with patch(target, args):
yield


Expand Down

0 comments on commit e56465c

Please sign in to comment.