Skip to content

Commit

Permalink
tests: Fix return type of zpool_create
Browse files Browse the repository at this point in the history
The return value was annotated with `pathlib.Path` but `ZpoolInfo` is
returned instead.

Signed-off-by: Axel Gembe <[email protected]>
  • Loading branch information
EchterAgo authored and andrewc12 committed Nov 10, 2023
1 parent 516c987 commit 73cfa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/windows/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def zpool_create(
devices: typing.Iterable[os.PathLike],
zpool_options: typing.Dict[str, str] = {},
zfs_options: typing.Dict[str, str] = {},
) -> pathlib.Path:
) -> ZpoolInfo:
"""Context manager that creates a zpool and destroys it when done
Args:
Expand Down

0 comments on commit 73cfa6a

Please sign in to comment.