1. Pypy
  2. Untitled project
  3. pypy

Commits

Christian Tismer  committed 8abd588

relaxing int vs long

  • Participants
  • Parent commits 2c293c8
  • Branches default

Comments (0)

Files changed (1)

File pypy/interpreter/test/test_compiler.py

View file
  • Ignore whitespace
     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):