[pypy-commit] pypy default: Change constant fit in 31 bits - it's signed.
mjacob
pypy.commits at gmail.com
Mon Feb 15 08:25:44 EST 2016
Author: Manuel Jacob <me at manueljacob.de>
Branch:
Changeset: r82263:b6d62c49d868
Date: 2016-02-15 14:24 +0100
http://bitbucket.org/pypy/pypy/changeset/b6d62c49d868/
Log: Change constant fit in 31 bits - it's signed.
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 % 2423423423 == 0:
+ if s % 2123423423 == 0:
print s
return s
More information about the pypy-commit
mailing list