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

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

No files matched your search

+2 -2
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__