diff options
author | Armin Rigo <arigo@tunes.org> | 2014-02-28 10:49:59 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2014-02-28 10:49:59 +0100 |
commit | db41250d79331a123a0d19782a14d746ed7898cc (patch) | |
tree | ce64560b3eb879d14bab3a1e2e0951cee74c3751 /c | |
parent | 664a48965cc0ee5b1ec10bdfcc5b5f35a7d4710a (diff) | |
download | cffi-db41250d79331a123a0d19782a14d746ed7898cc.tar.gz |
Add a passing test
Diffstat (limited to 'c')
-rw-r--r-- | c/test_c.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c/test_c.py b/c/test_c.py index 331107d..0c62995 100644 --- a/c/test_c.py +++ b/c/test_c.py @@ -370,6 +370,9 @@ def test_load_standard_library(): assert x.load_function(BVoidP, 'strcpy') py.test.raises(KeyError, x.load_function, BVoidP, 'xxx_this_function_does_not_exist') + # the next one is from 'libm', not 'libc', but we assume + # that it is already loaded too, so it should work + assert x.load_function(BVoidP, 'sqrt') def test_hash_differences(): BChar = new_primitive_type("char") |