Skip to content

Commit

Permalink
correct expected repr of dummy_func_args
Browse files Browse the repository at this point in the history
  • Loading branch information
WaylonWalker committed Oct 7, 2020
1 parent eb98122 commit 58636d9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/pipeline/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,17 @@ def partial_inconsistent_input_size():
(
inconsistent_input_args,
(
r"Inputs of '<function dummy_func_args at .*>' "
r"expected \[\'args\'\], but got {\'a\': \'A\'}"
r"Inputs of '"
r"<function inconsistent_input_args.<locals>.dummy_func_args"
r" at .*>' expected \[\'kwargs\'\], but got A"
),
),
(
inconsistent_input_kwargs,
(
r"Inputs of '<function dummy_func_args at .*>' "
r"expected \[\'kwargs\'\], but got A"
r"Inputs of '"
r"<function inconsistent_input_kwargs.<locals>.dummy_func_args"
r" at .*>' expected \[\'kwargs\'\], but got A"
),
),
(
Expand Down

0 comments on commit 58636d9

Please sign in to comment.