comparison roundup/support.py @ 7846:8ef97f7cfb6d

test: add tests for support.py: PrioList, Progress, TruthDict Also removed an obsolete comment for Progress.
author John Rouillard <rouilj@ieee.org>
date Sat, 30 Mar 2024 23:25:43 -0400
parents 33eb82ad26ba
children 224ccb8b49ca
comparison
equal deleted inserted replaced
7845:0c71ac9cdcd0 7846:8ef97f7cfb6d
66 66
67 67
68 class Progress: 68 class Progress:
69 '''Progress display for console applications. 69 '''Progress display for console applications.
70 70
71 See __main__ block at end of file for sample usage.
72 ''' 71 '''
73 def __init__(self, info, sequence): 72 def __init__(self, info, sequence):
74 self.info = info 73 self.info = info
75 self.sequence = iter(sequence) 74 self.sequence = iter(sequence)
76 self.total = len(sequence) 75 self.total = len(sequence)

Roundup Issue Tracker: http://roundup-tracker.org/