Author: Manuel Jacob <m...@manueljacob.de> Branch: Changeset: r82262:02eab80025cb Date: 2016-02-15 14:10 +0100 http://bitbucket.org/pypy/pypy/changeset/02eab80025cb/
Log: Make integer constant fit in 32 bits to make vmprof tests pass on 32-bit again. diff --git a/rpython/rlib/rvmprof/test/test_rvmprof.py b/rpython/rlib/rvmprof/test/test_rvmprof.py --- a/rpython/rlib/rvmprof/test/test_rvmprof.py +++ b/rpython/rlib/rvmprof/test/test_rvmprof.py @@ -101,7 +101,7 @@ s = 0 for i in range(num): s += (i << 1) - if s % 32423423423 == 0: + if s % 2423423423 == 0: print s return s _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit