summaryrefslogtreecommitdiff
path: root/numpy/testing/tests/test_utils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-03-28 07:10:01 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-03-28 07:10:01 -0700
commit40742184df68fc01f3392c9865f35d5402e74b01 (patch)
tree4d4832417a28e128ed989fc273d322a551d1cfdb /numpy/testing/tests/test_utils.py
parentdb75eb44a31fe1bb04a0f673fd459614bfd02b85 (diff)
parentb995d00e2e54bc6ff97f21bd179d1fc4dc3c92cb (diff)
downloadnumpy-40742184df68fc01f3392c9865f35d5402e74b01.tar.gz
Merge pull request #3122 from charris/2to3-apply-xrange-fixer
2to3: Replace xrange by range and use list(range(...)) where needed
Diffstat (limited to 'numpy/testing/tests/test_utils.py')
-rw-r--r--numpy/testing/tests/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py
index 9722c583c..4dd5a8121 100644
--- a/numpy/testing/tests/test_utils.py
+++ b/numpy/testing/tests/test_utils.py
@@ -378,7 +378,7 @@ class TestArrayAlmostEqualNulp(unittest.TestCase):
@dec.knownfailureif(True, "Github issue #347")
def test_simple(self):
np.random.seed(12345)
- for i in xrange(100):
+ for i in range(100):
dev = np.random.randn(10)
x = np.ones(10)
y = x + dev * np.finfo(np.float64).eps