Commit b737c9cb authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/gen_yield_from_close: Use range() instead of reversed().

As a "more basic" builtin iterator, present even in smaller ports.
parent eb101a27
......@@ -102,7 +102,7 @@ except RuntimeError:
# case where close is propagated up to a built-in iterator
def gen8():
g = reversed([2, 1])
g = range(2)
yield from g
g = gen8()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment