Skip to content

Commit ae3a8e2

Browse files
committed
Fixes CI
1 parent 22cd266 commit ae3a8e2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/pages/converters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ You can work with tuples instead like so:
142142
.. code:: python
143143
144144
>>> plus = squash_io(IO(1), IO('a')).map(lambda args: args[0] + len(args[1]))
145-
>>> assert plus == IO(3)
145+
>>> assert plus == IO(2)
146146
147147
We support up to 9 typed parameters to this function.
148148

typesafety/test_converters/test_squash_io.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010
- case: squash_io3
1111
disable_cache: true
1212
main: |
13-
from returns.io import IO, squash_io
13+
from returns.io import IO
14+
from returns.converters import squash_io
1415
1516
reveal_type(squash_io(IO(1), IO('a'), IO(False))) # N: Revealed type is 'returns.io.IO[Tuple[builtins.int*, builtins.str*, builtins.bool*]]'
1617
1718
1819
- case: squash_io4
1920
disable_cache: true
2021
main: |
21-
from returns.io import IO, squash_io
22+
from returns.io import IO
23+
from returns.converters import squash_io
2224
2325
reveal_type(squash_io(IO(1), IO('a'), IO(False), IO(2))) # N: Revealed type is 'returns.io.IO[Tuple[builtins.int*, builtins.str*, builtins.bool*, builtins.int*]]'

0 commit comments

Comments
 (0)