[pypy-svn] r32197 - pypy/branch/more-gckinds/pypy/rpython/lltypesystem/test
mwh at codespeak.net
mwh at codespeak.net
Tue Sep 12 11:02:14 CEST 2006
Author: mwh
Date: Tue Sep 12 11:02:06 2006
New Revision: 32197
Modified:
pypy/branch/more-gckinds/pypy/rpython/lltypesystem/test/test_lltype.py
Log:
oops, i thought i'd removed all calls to isweak.
Modified: pypy/branch/more-gckinds/pypy/rpython/lltypesystem/test/test_lltype.py
==============================================================================
--- pypy/branch/more-gckinds/pypy/rpython/lltypesystem/test/test_lltype.py (original)
+++ pypy/branch/more-gckinds/pypy/rpython/lltypesystem/test/test_lltype.py Tue Sep 12 11:02:06 2006
@@ -422,6 +422,8 @@
assert runtime_type_info(s1.sub) == getRuntimeTypeInfo(S1)
def test_flavor_malloc():
+ def isweak(p, T):
+ return p._weak and typeOf(p).TO == T
S = Struct('s', ('x', Signed))
py.test.raises(TypeError, malloc, S)
p = malloc(S, flavor="raw")
More information about the Pypy-commit
mailing list