[pypy-commit] pypy vecopt: error in the test case added array instead of summed scalar
plan_rich
noreply at buildbot.pypy.org
Mon Jun 15 09:41:10 CEST 2015
Author: Richard Plangger <rich at pasra.at>
Branch: vecopt
Changeset: r78106:1d9b7639a828
Date: 2015-06-15 09:40 +0200
http://bitbucket.org/pypy/pypy/changeset/1d9b7639a828/
Log: error in the test case added array instead of summed scalar
diff --git a/pypy/module/micronumpy/test/test_zjit.py b/pypy/module/micronumpy/test/test_zjit.py
--- a/pypy/module/micronumpy/test/test_zjit.py
+++ b/pypy/module/micronumpy/test/test_zjit.py
@@ -360,12 +360,12 @@
b = sum(a)
c = |60|
d = sum(c)
- b + c
+ b + d
"""
def test_sum_multi(self):
result = self.run("sum_multi")
- assert result == sum(range(30)) + sum(range(0,60))
+ assert result == sum(range(30)) + sum(range(60))
self.check_vectorized(1, 1)
def define_sum_float_to_int16():
More information about the pypy-commit
mailing list