Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 30, 2024
1 parent ae0422a commit 4c00389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydra/utils/tests/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,11 +1044,11 @@ def test_type_is_instance11a():
[
(MultiInputObj[str], "a", ["a"]),
(MultiInputObj[str], ["a"], ["a"]),
(MultiInputObj[ty.List[str]], ["a"], [["a"]]),
(MultiInputObj[ty.List[str]], ["a"], [["a"]]),
(MultiInputObj[ty.Union[int, ty.List[str]]], ["a"], [["a"]]),
(MultiInputObj[ty.Union[int, ty.List[str]]], [["a"]], [["a"]]),
(MultiInputObj[ty.Union[int, ty.List[str]]], [1], [1]),
]
],
)
def test_multi_input_obj_coerce(typ, obj, result):
assert TypeParser(typ)(obj) == result
Expand Down

0 comments on commit 4c00389

Please sign in to comment.