[Python-3000-checkins] r61659 - python/branches/py3k/Lib/test/test_winsound.py

Brett Cannon brett at python.org
Thu Mar 20 04:17:15 CET 2008


On Wed, Mar 19, 2008 at 8:02 PM, amaury.forgeotdarc
<python-3000-checkins at python.org> wrote:
> Author: amaury.forgeotdarc
>  Date: Thu Mar 20 02:02:48 2008
>  New Revision: 61659
>
>  Modified:
>    python/branches/py3k/Lib/test/test_winsound.py
>  Log:
>  Another 2.6-ism in test file
>
>
>  Modified: python/branches/py3k/Lib/test/test_winsound.py
>  ==============================================================================
>  --- python/branches/py3k/Lib/test/test_winsound.py      (original)
>  +++ python/branches/py3k/Lib/test/test_winsound.py      Thu Mar 20 02:02:48 2008
>  @@ -27,7 +27,7 @@
>          self._beep(32767, 75)
>
>      def test_increasingfrequency(self):
>  -        for i in xrange(100, 2000, 100):
>  +        for i in range(100, 2000, 100):
>              self._beep(i, 75)
>
>      def _beep(self, *args):


How is this a 2.6ism?

-Brett


More information about the Python-3000-checkins mailing list