[pypy-commit] pypy default: change tests to match the new behaviour
plan_rich
pypy.commits at gmail.com
Thu Dec 1 12:01:56 EST 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch:
Changeset: r88800:50e5ff8f14e9
Date: 2016-12-01 17:45 +0100
http://bitbucket.org/pypy/pypy/changeset/50e5ff8f14e9/
Log: change tests to match the new behaviour
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
@@ -398,7 +398,7 @@
def test_sum_multi(self):
result = self.run("sum_multi")
assert result == sum(range(30)) + sum(range(60))
- self.check_vectorized(1, 1)
+ self.check_vectorized(1, 0)
def define_sum_float_to_int16():
return """
@@ -480,7 +480,7 @@
assert retval == sum(range(1,11))
# check that we got only one loop
assert len(get_stats().loops) == 1
- self.check_vectorized(2, 1)
+ self.check_vectorized(2, 0)
def test_reduce_axis_compile_only_once(self):
self.compile_graph()
@@ -491,7 +491,7 @@
retval = self.interp.eval_graph(self.graph, [i])
# check that we got only one loop
assert len(get_stats().loops) == 1
- self.check_vectorized(3, 1)
+ self.check_vectorized(3, 0)
def define_prod():
return """
More information about the pypy-commit
mailing list