Skip to content

Commit 66a2f48

Browse files
committed
fix: lint
1 parent 8d6d6de commit 66a2f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def test_branch_conditional_router_mode(self):
521521
),
522522
"numbers": ( # This condition also matches integers
523523
createTransformer(float).map(lambda x: x * 10),
524-
lambda x: isinstance(x, (int, float)),
524+
lambda x: isinstance(x, int | float),
525525
),
526526
}
527527

@@ -554,7 +554,7 @@ def test_branch_conditional_broadcast_mode(self):
554554
),
555555
"numbers": ( # This condition also matches integers
556556
createTransformer(float).map(lambda x: x * 10),
557-
lambda x: isinstance(x, (int, float)),
557+
lambda x: isinstance(x, int | float),
558558
),
559559
}
560560

0 commit comments

Comments
 (0)