Skip to content

Commit 231154e

Browse files
committed
fix tests
1 parent 9177f7d commit 231154e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bioimageio/spec/model/v0_5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ class SoftmaxDescr(ProcessingDescrBase):
12031203
axis: channel
12041204
```
12051205
- in Python:
1206-
>>> postprocessing = [SoftmaxDescr(SoftmaxKwargs(axis=AxisId("channel")))]
1206+
>>> postprocessing = [SoftmaxDescr(kwargs=SoftmaxKwargs(axis=AxisId("channel")))]
12071207
"""
12081208

12091209
implemented_id: ClassVar[Literal["softmax"]] = "softmax"

tests/test_internal/test_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ def test_warn(kwargs: Dict[str, Any], context: ValidationContext, valid: bool):
5858
(
5959
NESTED_NODE_DUMMY_INPUT,
6060
{WARNING_LEVEL_CONTEXT_KEY: WARNING},
61-
True, # no reevaluation of node instance
61+
False, # reevaluation of node instance
6262
),
6363
(
6464
NESTED_NODE_DUMMY_INPUT,
6565
{WARNING_LEVEL_CONTEXT_KEY: INFO},
66-
True, # no reevaluation of node instance
66+
False, # reevaluation of node instance
6767
),
6868
],
6969
)

0 commit comments

Comments
 (0)