Skip to content

Commit

Permalink
change types and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
romanmatveevsky committed Aug 14, 2024
1 parent dd94a17 commit 85b98e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_result/test_result_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
),
(
(Some(1), Some(2), Nothing),
([1, 2], []),
([1, 2], [None]),
),
])
def test_partition(containers, expected):
Expand Down
2 changes: 1 addition & 1 deletion typesafety/test_methods/test_partition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from returns.maybe import Maybe, Some, Nothing, Maybe, _Nothing
from returns.methods import partition
x: Tuple[Some[int], Some[int], Maybe[None]]
x: List[Maybe[int]]
reveal_type(partition(x)) # N: Revealed type is "Tuple[builtins.list[builtins.int], builtins.list[None]]"

0 comments on commit 85b98e0

Please sign in to comment.