summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-07-03 12:10:48 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-07-03 12:10:48 -0600
commitf2bec652c1a3137db0e0904312fcb9fe773350ec (patch)
treebbdb2d25e4d40fa7107a2c8f189204451271cf71 /numpy
parentfa9d813be019111846a85f8312982d989b23307c (diff)
downloadnumpy-f2bec652c1a3137db0e0904312fcb9fe773350ec.tar.gz
BUG: Remove xrange that slipped into test_numeric.py.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_numeric.py b/numpy/core/tests/test_numeric.py
index 432fc15bd..2ed9bb646 100644
--- a/numpy/core/tests/test_numeric.py
+++ b/numpy/core/tests/test_numeric.py
@@ -626,7 +626,7 @@ class TestFromiter(TestCase):
"""Utility method for the issue 2592 tests.
Raise an exception at the desired index in the iterator."""
- for e in xrange(n):
+ for e in range(n):
if e == eindex:
raise NIterError('error at index %s' % eindex)
yield e