[pypy-svn] r75126 - pypy/branch/fast-ctypes/pypy/rlib/test

getxsick at codespeak.net getxsick at codespeak.net
Sat Jun 5 00:05:50 CEST 2010


Author: getxsick
Date: Sat Jun  5 00:05:49 2010
New Revision: 75126

Modified:
   pypy/branch/fast-ctypes/pypy/rlib/test/test_jitffi.py
Log:
more tests

Modified: pypy/branch/fast-ctypes/pypy/rlib/test/test_jitffi.py
==============================================================================
--- pypy/branch/fast-ctypes/pypy/rlib/test/test_jitffi.py	(original)
+++ pypy/branch/fast-ctypes/pypy/rlib/test/test_jitffi.py	Sat Jun  5 00:05:49 2010
@@ -102,9 +102,12 @@
 
         func = lib.get('fvoid', ['void'], 'int')
         assert 1 == func('void')
+        assert 1 == func()
 
         func = lib.get('return_void', ['int', 'int'], 'void')
         assert func(1, 2) is None
+        func = lib.get('return_void', ['int', 'int'])
+        assert func(1, 2) is None
 
     def test_undefined_func(self):
         lib = jitffi.CDLL(self.lib_name)



More information about the Pypy-commit mailing list