[pypy-commit] cffi default: Python 3 compat
arigo
noreply at buildbot.pypy.org
Tue Apr 2 19:21:17 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1220:8bd74325f873
Date: 2013-04-01 17:54 +0200
http://bitbucket.org/cffi/cffi/changeset/8bd74325f873/
Log: Python 3 compat
diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1590,7 +1590,9 @@
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()
More information about the pypy-commit
mailing list