[pypy-svn] r54001 - pypy/branch/io-improvements/pypy/rpython/lltypesystem/test

arigo at codespeak.net arigo at codespeak.net
Tue Apr 22 11:51:41 CEST 2008


Author: arigo
Date: Tue Apr 22 11:51:41 2008
New Revision: 54001

Modified:
   pypy/branch/io-improvements/pypy/rpython/lltypesystem/test/test_lltype.py
Log:
This was a nice wish but it's not implemented.


Modified: pypy/branch/io-improvements/pypy/rpython/lltypesystem/test/test_lltype.py
==============================================================================
--- pypy/branch/io-improvements/pypy/rpython/lltypesystem/test/test_lltype.py	(original)
+++ pypy/branch/io-improvements/pypy/rpython/lltypesystem/test/test_lltype.py	Tue Apr 22 11:51:41 2008
@@ -204,11 +204,6 @@
     assert typeOf(p3) == Ptr(S3)
     assert p1b == cast_pointer(Ptr(S1bis), p3)
     py.test.raises(RuntimeError, "cast_pointer(Ptr(S1), p3)")
-    A1 = FixedSizeArray(Char, 1)
-    A2 = Array(Char, hints={'nolength':True})
-    p = malloc(A1, flavor='raw')
-    p2 = cast_pointer(Ptr(A2), p)
-    assert p2 == p
 
 def test_best_effort_gced_parent_detection():
     py.test.skip("test not relevant any more")



More information about the Pypy-commit mailing list