[pypy-commit] pypy default: relaxing int vs long
ctismer
noreply at buildbot.pypy.org
Tue Mar 13 06:58:02 CET 2012
Author: Christian Tismer <tismer at stackless.com>
Branch:
Changeset: r53418:8abd5883fa0c
Date: 2012-03-12 22:57 -0700
http://bitbucket.org/pypy/pypy/changeset/8abd5883fa0c/
Log: relaxing int vs long
diff --git a/pypy/interpreter/test/test_compiler.py b/pypy/interpreter/test/test_compiler.py
--- a/pypy/interpreter/test/test_compiler.py
+++ b/pypy/interpreter/test/test_compiler.py
@@ -794,7 +794,7 @@
def test_tuple_constants(self):
ns = {}
exec "x = (1, 0); y = (1L, 0L)" in ns
- assert isinstance(ns["x"][0], int)
+ assert isinstance(ns["x"][0], (int, long))
assert isinstance(ns["y"][0], long)
def test_division_folding(self):
More information about the pypy-commit
mailing list