We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d6d6de commit 66a2f48Copy full SHA for 66a2f48
tests/test_pipeline.py
@@ -521,7 +521,7 @@ def test_branch_conditional_router_mode(self):
521
),
522
"numbers": ( # This condition also matches integers
523
createTransformer(float).map(lambda x: x * 10),
524
- lambda x: isinstance(x, (int, float)),
+ lambda x: isinstance(x, int | float),
525
526
}
527
@@ -554,7 +554,7 @@ def test_branch_conditional_broadcast_mode(self):
554
555
556
557
558
559
560
0 commit comments