[pypy-commit] pypy py3.5: fix test
arigo
pypy.commits at gmail.com
Wed Feb 1 04:06:17 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89871:5cac6275c51a
Date: 2017-02-01 10:05 +0100
http://bitbucket.org/pypy/pypy/changeset/5cac6275c51a/
Log: fix test
diff --git a/pypy/module/pypyjit/test_pypy_c/test_array.py b/pypy/module/pypyjit/test_pypy_c/test_array.py
--- a/pypy/module/pypyjit/test_pypy_c/test_array.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_array.py
@@ -28,7 +28,7 @@
def test_array_sum(self):
def main():
from array import array
- img = array("i", range(128) * 5) * 480
+ img = array("i", list(range(128)) * 5) * 480
l, i = 0, 0
while i < len(img):
l += img[i]
More information about the pypy-commit
mailing list