summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xrange.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_xrange.py')
-rw-r--r--Lib/test/test_xrange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xrange.py b/Lib/test/test_xrange.py
index c0d1dbe..5225250 100644
--- a/Lib/test/test_xrange.py
+++ b/Lib/test/test_xrange.py
@@ -21,7 +21,7 @@ class XrangeTest(unittest.TestCase):
c = 50
self.assertEqual(list(xrange(a, a+2)), [a, a+1])
- self.assertEqual(list(xrange(a+2, a, -1L)), [a+2, a+1])
+ self.assertEqual(list(xrange(a+2, a, -1)), [a+2, a+1])
self.assertEqual(list(xrange(a+4, a, -2)), [a+4, a+2])
seq = list(xrange(a, b, c))