Author: Armin Rigo <[email protected]>
Branch:
Changeset: r78735:3fe55025bf42
Date: 2015-08-01 14:55 +0200
http://bitbucket.org/pypy/pypy/changeset/3fe55025bf42/
Log: Add another sanity test: rarithmetic.maxint == sys.maxint for now
diff --git a/rpython/rlib/rarithmetic.py b/rpython/rlib/rarithmetic.py
--- a/rpython/rlib/rarithmetic.py
+++ b/rpython/rlib/rarithmetic.py
@@ -155,6 +155,8 @@
# the replacement for sys.maxint
maxint = int(LONG_TEST - 1)
+# for now, it should be equal to sys.maxint on all supported platforms
+assert maxint == sys.maxint
def is_valid_int(r):
if objectmodel.we_are_translated():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit