[pypy-svn] r73010 - pypy/trunk/pypy/rpython/lltypesystem/test
xoraxax at codespeak.net
xoraxax at codespeak.net
Sun Mar 28 03:20:20 CEST 2010
Author: xoraxax
Date: Sun Mar 28 03:20:19 2010
New Revision: 73010
Modified:
pypy/trunk/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
Log:
This test fails on pypy, please fix, pretty annoying.
Modified: pypy/trunk/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
==============================================================================
--- pypy/trunk/pypy/rpython/lltypesystem/test/test_ll2ctypes.py (original)
+++ pypy/trunk/pypy/rpython/lltypesystem/test/test_ll2ctypes.py Sun Mar 28 03:20:19 2010
@@ -1041,6 +1041,10 @@
#assert lltype.cast_ptr_to_int(ref1) == intval
+ def test_ptr_truth(self):
+ abc = rffi.cast(lltype.Ptr(lltype.FuncType([], lltype.Void)), 0)
+ assert not abc
+
def test_mixed_gcref_comparison(self):
NODE = lltype.GcStruct('NODE')
node = lltype.malloc(NODE)
More information about the Pypy-commit
mailing list