diff options
author | Armin Rigo <arigo@tunes.org> | 2012-06-01 15:20:11 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2012-06-01 15:20:11 +0200 |
commit | cb607c82df00138682de0feb1eefd89e6c3d5920 (patch) | |
tree | 66996cb1a8f02fa390657e7762935c4811ad8e81 /testing/test_function.py | |
parent | 049a6e3ffa39ae129de89aa21e884f9dd39525f6 (diff) | |
download | cffi-cb607c82df00138682de0feb1eefd89e6c3d5920.tar.gz |
Fix test.
Diffstat (limited to 'testing/test_function.py')
-rw-r--r-- | testing/test_function.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_function.py b/testing/test_function.py index f44b05c..27dc4c0 100644 --- a/testing/test_function.py +++ b/testing/test_function.py @@ -125,7 +125,7 @@ class TestFunction(object): int puts(const char *); """) fptr = ffi.C.puts - assert type(fptr) == ffi.typeof("int(*)(const char*)") + assert ffi.typeof(fptr) == ffi.typeof("int(*)(const char*)") assert repr(fptr) == "<cdata 'int puts(char *)'>" def test_function_pointer(self): |