[pypy-commit] pypy default: Revert 53b5e001b4db, we really want an int here.

amauryfa noreply at buildbot.pypy.org
Thu Mar 15 01:09:16 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r53626:8866013cdf76
Date: 2012-03-15 01:07 +0100
http://bitbucket.org/pypy/pypy/changeset/8866013cdf76/

Log:	Revert 53b5e001b4db, we really want an int here.

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, long))
+        assert isinstance(ns["x"][0], int)
         assert isinstance(ns["y"][0], long)
 
     def test_division_folding(self):


More information about the pypy-commit mailing list