diff options
| author | Armin Rigo <arigo@tunes.org> | 2012-06-26 10:02:18 +0200 |
|---|---|---|
| committer | Armin Rigo <arigo@tunes.org> | 2012-06-26 10:02:18 +0200 |
| commit | 88e0a318eb440c0f7487f7d73441baf1cf1cc151 (patch) | |
| tree | 7fddf33df5c8dfdc281a48243f94d769064e5a9c /testing/test_function.py | |
| parent | b0ea1596df8a3b0ccceba0573bd4d99a2e2c3251 (diff) | |
| download | cffi-88e0a318eb440c0f7487f7d73441baf1cf1cc151.tar.gz | |
Fix(?) the ctypes backend, as far as the tests are concerned.
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 1a05eca..864cf35 100644 --- a/testing/test_function.py +++ b/testing/test_function.py @@ -168,7 +168,7 @@ class TestFunction(object): fptr = ffi.C.puts assert ffi.typeof(fptr) == ffi.typeof("int(*)(const char*)") if self.Backend is CTypesBackend: - assert repr(fptr) == "<cdata 'int puts(char *)'>" + assert repr(fptr).startswith("<cdata 'int puts(char *)' 0x") def test_function_pointer(self): ffi = FFI(backend=self.Backend()) |
