Fix SF #1345263, colorsys tests, bug in frange
Fix a typo that caused step to be ignored. Will backport.
This commit is contained in:
parent
6eac2005bf
commit
cf4863831c
|
@ -4,7 +4,7 @@ import colorsys
|
|||
def frange(start, stop, step):
|
||||
while start <= stop:
|
||||
yield start
|
||||
start += stop
|
||||
start += step
|
||||
|
||||
class ColorsysTest(unittest.TestCase):
|
||||
|
||||
|
|
Loading…
Reference in New Issue