]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Another 2.6-ism in test file
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 20 Mar 2008 01:02:48 +0000 (01:02 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 20 Mar 2008 01:02:48 +0000 (01:02 +0000)
Lib/test/test_winsound.py

index dac569c96282331cf7e81a4820ea0f8689bf2912..bc21d7eed1cddfb523eb94408c401c5aa7f43a2f 100644 (file)
@@ -27,7 +27,7 @@ class BeepTest(unittest.TestCase):
         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):