[pypy-svn] pypy jitypes2: fix test

antocuni commits-noreply at bitbucket.org
Sun Jan 16 10:48:19 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r40708:a70419a37970
Date: 2011-01-16 10:47 +0100
http://bitbucket.org/pypy/pypy/changeset/a70419a37970/

Log:	fix test

diff --git a/pypy/jit/backend/llsupport/ffisupport.py b/pypy/jit/backend/llsupport/ffisupport.py
--- a/pypy/jit/backend/llsupport/ffisupport.py
+++ b/pypy/jit/backend/llsupport/ffisupport.py
@@ -12,7 +12,7 @@
     try:
         reskind = get_ffi_type_kind(ffi_result)
         argkinds = [get_ffi_type_kind(arg) for arg in ffi_args]
-    except KeyError:
+    except UnsupportedKind:
         return None # ??
     arg_classes = ''.join(argkinds)
     if reskind == history.INT:


More information about the Pypy-commit mailing list