Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use old syntax
  • Loading branch information
AlexWaygood committed Jun 12, 2022
commit 6b5e903872f02298780125e4b7eb320dc6e0f1cd
4 changes: 2 additions & 2 deletions test_cases/stdlib/asyncio/test_coroutines.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from asyncio import iscoroutinefunction
from collections.abc import Awaitable, Callable, Coroutine
from typing import Any
from typing import Any, Union
from typing_extensions import assert_type


def test_iscoroutinefunction(
x: Callable[[str, int], Coroutine[str, int, bytes]],
y: Callable[[str, int], Awaitable[bytes]],
z: Callable[[str, int], str | Awaitable[bytes]],
z: Callable[[str, int], Union[str, Awaitable[bytes]]],
xx: object,
) -> None:

Expand Down