homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author titanstar
Recipients
Date 2005年11月01日.20:50:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The frange() function in Lib/test/test_colorsys.py generates incorrect 
ranges, making the tests less comprehensive than expected.
The following patch fixes the problem:
$ svn diff Lib/test/test_colorsys.py
Index: Lib/test/test_colorsys.py
=================================================
==================
--- Lib/test/test_colorsys.py (revision 41365)
+++ Lib/test/test_colorsys.py (working copy)
@@ -4,7 +4,7 @@
 def frange(start, stop, step):
 while start <= stop:
 yield start
- start += stop
+ start += step
 
 class ColorsysTest(unittest.TestCase):
 
History
Date User Action Args
2007年08月23日 14:35:54adminlinkissue1345263 messages
2007年08月23日 14:35:54admincreate

AltStyle によって変換されたページ (->オリジナル) /