Skip to content

Commit 29273dc

Browse files
committed
Fixes CI
1 parent a0db8ab commit 29273dc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

typesafety/test_io/test_ioresult_container/test_construct_iofailure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
main: |
2424
from returns.io import IOFailure
2525
26-
reveal_type(IOFailure(1).alt(str)) # N: Revealed type is 'returns.io.IOResult[<nothing>, builtins.str*]'
26+
reveal_type(IOFailure(1).alt(str)) # N: Revealed type is 'returns.io.IOResult[Any, builtins.str*]'
2727
2828
2929
- case: iofailure_iofailure

typesafety/test_io/test_ioresult_container/test_construct_iosucess.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
main: |
2929
from returns.io import IOSuccess, IOResult
3030
31-
reveal_type(IOSuccess(1).map(str)) # N: Revealed type is 'returns.io.IOResult[builtins.str*, <nothing>]'
31+
reveal_type(IOSuccess(1).map(str)) # N: Revealed type is 'returns.io.IOResult[builtins.str*, Any]'
3232
3333
3434
- case: iosuccess_value_or

typesafety/test_io/test_ioresult_container/test_ioresult_helpers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
main: |
3535
from returns.io import IOResult
3636
37-
reveal_type(IOResult.success_type) # N: Revealed type is 'Type[returns.io._IOSuccess[Any]]'
37+
reveal_type(IOResult.success_type) # N: Revealed type is 'Type[returns.io._IOSuccess]'
3838
3939
4040
- case: ioresult_failure_type
4141
disable_cache: true
4242
main: |
4343
from returns.io import IOResult
4444
45-
reveal_type(IOResult.failure_type) # N: Revealed type is 'Type[returns.io._IOFailure[Any]]'
45+
reveal_type(IOResult.failure_type) # N: Revealed type is 'Type[returns.io._IOFailure]'

typesafety/test_result/test_safe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@
9393
def test(*args: int, **kwargs: str) -> int:
9494
return 1
9595
96-
reveal_type(test) # N: Revealed type is 'def (*args: builtins.int, **kwargs: builtins.str) -> returns.io.IO[returns.result.Result*[builtins.int, builtins.Exception]]'
96+
reveal_type(test) # N: Revealed type is 'def (*args: builtins.int, **kwargs: builtins.str) -> returns.io.IO[returns.result.Result*[builtins.int*, builtins.Exception]]'

0 commit comments

Comments
 (0)