1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
- case: decorator_produces_coroutine
regex: yes
main: |
from aioshutil import rmtree
reveal_type(rmtree)
out: |
main:2: note: Revealed type is "def \(.*?\) -> typing\.Coroutine\[Any, Any, \w+\]"
skip: sys.version_info < (3, 10)
- case: copy_overload_typehint
regex: yes
main: |
from aioshutil import copy
reveal_type(copy)
out: |
main:2: note: Revealed type is "Overload\(def \(.*\) -> typing\.Coroutine\[Any, Any, \w+\], def \(.*\) -> typing\.Coroutine\[Any, Any, \w+\]\)"
skip: sys.version_info < (3, 10)
|