Commits

Armin Rigo committed 8bd7432

Python 3 compat

  • Participants
  • Parent commits c15983a

Comments (0)

Files changed (1)

File testing/test_verify.py

     py.test.raises(TypeError, lib.seeme2, 0.0)
     py.test.raises(TypeError, lib.seeme1, 0)
     py.test.raises(TypeError, lib.seeme2, 0)
-    py.test.raises(TypeError, lib.seeme2, 0L)
+    zeroL  = 99999999999999999999
+    zeroL -= 99999999999999999999
+    py.test.raises(TypeError, lib.seeme2, zeroL)
 
 def test_typeof_function():
     ffi = FFI()