Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1467:fdc1c8a70bd9
Date: 2014-02-28 10:49 +0100
http://bitbucket.org/cffi/cffi/changeset/fdc1c8a70bd9/

Log:    Add a passing test

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -370,6 +370,9 @@
     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")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to