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

This commit is contained in:
Damien George 2016-04-13 15:56:15 +01:00
parent 6eb17c31a9
commit 7f7e247545
6 changed files with 104 additions and 0 deletions

View File

@ -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

View File

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

View File

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

View File

@ -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

View File

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

View File

@ -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