Skip to content

Commit 37c9c4f

Browse files
black
1 parent 63d40e3 commit 37c9c4f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

unittests/test_builtins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
from .utility import sync, asyncify, awaitify
99

10-
1110
COR = TypeVar("COR", bound=Callable[..., Coroutine[Any, Any, Any]])
1211

1312

1413
def hide_coroutine(corofunc: COR) -> COR:
1514
"""Make a coroutine function look like a regular function returning a coroutine"""
15+
1616
def wrapper(*args, **kwargs): # type: ignore
1717
return corofunc(*args, **kwargs)
1818

@@ -133,6 +133,7 @@ async def map_op(value: int) -> int:
133133
async def test_map_strict_unequal(itrs: "tuple[range, ...]"):
134134
def triple_sum(x: int, y: int, z: int) -> int:
135135
return x + y + z
136+
136137
# no error without strict
137138
async for _ in a.map(triple_sum, *itrs):
138139
pass

0 commit comments

Comments
 (0)