Move tests in basic/tests/ up one level preparating to multiple test dirs.

This commit is contained in:
Paul Sokolovsky
2014-01-19 18:41:55 +02:00
parent a11ceca807
commit 8c3858b016
87 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
def f(x):
print('a')
y = x
print('b')
while y > 0:
print('c')
y -= 1
print('d')
yield y
print('e')
print('f')
return None
for val in f(3):
print(val)
#gen = f(3)
#print(gen)
#print(gen.__next__())
#print(gen.__next__())
#print(gen.__next__())
#print(gen.__next__())