[pypy-commit] pypy default: Yes, changing the struct name causes the test to fail
amauryfa
noreply at buildbot.pypy.org
Tue Jul 12 23:42:46 CEST 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r45518:24bb4e1afc2a
Date: 2011-07-08 19:39 +0200
http://bitbucket.org/pypy/pypy/changeset/24bb4e1afc2a/
Log: Yes, changing the struct name causes the test to fail
diff --git a/pypy/rpython/lltypesystem/test/test_ll2ctypes.py b/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
--- a/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
+++ b/pypy/rpython/lltypesystem/test/test_ll2ctypes.py
@@ -671,7 +671,7 @@
assert not ALLOCATED # detects memory leaks in the test
def test_arrayofstruct(self):
- S1 = lltype.Struct('S1', ('x', lltype.Signed))
+ S1 = lltype.Struct('S2', ('x', lltype.Signed))
A = lltype.Array(S1, hints={'nolength': True})
a = lltype.malloc(A, 5, flavor='raw')
a[0].x = 100
More information about the pypy-commit
mailing list