Author: Richard Plangger <planri...@gmail.com> Branch: Changeset: r88799:d6e2601a07f1 Date: 2016-12-01 17:39 +0100 http://bitbucket.org/pypy/pypy/changeset/d6e2601a07f1/
Log: deduplicate test defined twice, change check 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 @@ -374,17 +374,7 @@ def test_sum(self): result = self.run("sum") assert result == sum(range(30)) - self.check_vectorized(1, 1) - - def define_sum(): - return """ - a = |30| - sum(a) - """ - def test_sum(self): - result = self.run("sum") - assert result == sum(range(30)) - self.check_vectorized(1, 1) + self.check_vectorized(1, 0) def define_sum_int(): return """ _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit