Fix a few tests that failed, because they were not correct python (the context was wrong).

This commit is contained in:
Dave Halter
2016-05-30 20:10:17 +02:00
parent 4f6368e7eb
commit c12dbe0b9e
6 changed files with 18 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ def gen_ret(value):
next(gen_ret(1))
#? []
next(gen_ret())
next(gen_ret()).
# generators evaluate to true if cast by bool.
a = ''
@@ -42,7 +42,7 @@ def get(param):
yield ""
#? []
get()[0]
get()[0].
# -----------------
# __iter__