Skip to content
Myr

length hint test: ensure iterator compatibility for older python versions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ronny Pfannschmidt · committed by Ronny Pfannschmidt · parent 11a662d · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_termui.py+2 added
29 unmodified lines
30 return self.items.pop()31 else:32 raise StopIteration3334 next = __next__3536 @click.command()37 def cli():38 with click.progressbar(Hinted(10), label='test') as progress:39 for thing in progress:
5 unmodified lines