summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-11-02 05:54:27 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2005-11-02 05:54:27 +0000
commitcf4863831c729a105d31c26af14909c16f6bdbd9 (patch)
tree3b7e170df601bf282487c636d834501dbe860400 /Lib
parent6eac2005bfdb1c2e48c8ebba234c61cc9ab9c4c6 (diff)
downloadcpython-git-cf4863831c729a105d31c26af14909c16f6bdbd9.tar.gz
Fix SF #1345263, colorsys tests, bug in frange
Fix a typo that caused step to be ignored. Will backport.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_colorsys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_colorsys.py b/Lib/test/test_colorsys.py
index 1ef7b0cdfc..a8cd885db1 100644
--- a/Lib/test/test_colorsys.py
+++ b/Lib/test/test_colorsys.py
@@ -4,7 +4,7 @@ import colorsys
def frange(start, stop, step):
while start <= stop:
yield start
- start += stop
+ start += step
class ColorsysTest(unittest.TestCase):