tests/basics: Improve test coverage for generators.

This commit is contained in:
Rami Ali
2016-12-20 12:57:39 +11:00
committed by Damien George
parent 1e7a801e2d
commit 5d06a74303
6 changed files with 47 additions and 1 deletions

View File

@@ -20,3 +20,6 @@ for val in f(3):
#print(gen.__next__())
#print(gen.__next__())
#print(gen.__next__())
# test printing, but only the first chars that match CPython
print(repr(f(0))[0:17])