tests: Add .exp files for async tests, so they can run with Python 3.4.

pull/1950/merge
Damien George 2016-04-13 15:56:15 +01:00
rodzic 6eb17c31a9
commit 7f7e247545
6 zmienionych plików z 104 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,32 @@
4
3
2
1
0
0
1
0
0
2
1
0
0
1
0
0
3
2
1
0
0
1
0
0
2
1
0
0
1
0
0
finished

Wyświetl plik

@ -0,0 +1,5 @@
wait value: 1
return from send: message from wait(1)
wait got back: message from main
x = 100
got StopIteration

Wyświetl plik

@ -0,0 +1,10 @@
init
aiter
anext
a
anext
b
anext
c
anext
finished

Wyświetl plik

@ -0,0 +1,36 @@
init
aiter
f start: 10
coro yielded: 11
coro yielded: 12
f returned: 13
anext
f start: 20
coro yielded: 21
coro yielded: 22
f returned: 23
x 0
anext
f start: 20
coro yielded: 21
coro yielded: 22
f returned: 23
x 1
anext
f start: 20
coro yielded: 21
coro yielded: 22
f returned: 23
x 2
anext
f start: 20
coro yielded: 21
coro yielded: 22
f returned: 23
x 3
anext
f start: 20
coro yielded: 21
coro yielded: 22
f returned: 23
finished

Wyświetl plik

@ -0,0 +1,4 @@
enter
body
exit
finished

Wyświetl plik

@ -0,0 +1,17 @@
enter
f start: 10
coro yielded: 11
coro yielded: 12
f returned: 13
body start
f start: 30
coro yielded: 31
coro yielded: 32
body f returned: 33
body end
exit
f start: 20
coro yielded: 21
coro yielded: 22
f returned: 23
finished