Author: Armin Rigo <[email protected]>
Branch: cffi-1.0
Changeset: r1778:e3d0c9fc52cb
Date: 2015-04-22 16:15 +0200
http://bitbucket.org/cffi/cffi/changeset/e3d0c9fc52cb/

Log:    pass one more line of the next test

diff --git a/new/test_verify1.py b/new/test_verify1.py
--- a/new/test_verify1.py
+++ b/new/test_verify1.py
@@ -1,5 +1,5 @@
 import sys, math, py
-from cffi1 import FFI, VerificationError, VerificationMissing, model
+from cffi1 import FFI, VerificationError, model
 
 lib_m = ['m']
 if sys.platform == 'win32':
@@ -450,9 +450,9 @@
        ...;
     };
     """)
-    py.test.raises(VerificationMissing, ffi.sizeof, 'struct foo_s')
-    py.test.raises(VerificationMissing, ffi.offsetof, 'struct foo_s', 'x')
-    py.test.raises(VerificationMissing, ffi.new, 'struct foo_s *')
+    py.test.raises(ffi.error, ffi.sizeof, 'struct foo_s')
+    py.test.raises(ffi.error, ffi.offsetof, 'struct foo_s', 'x')
+    py.test.raises(ffi.error, ffi.new, 'struct foo_s *')
     ffi.verify("""
     struct foo_s {
        int a, b, x, c, d, e;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to