tests/basics: Improve test coverage for generators.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user