Author: Antonio Cuni <[email protected]>
Branch: ffistruct
Changeset: r49035:08175c33f891
Date: 2011-11-09 17:48 +0100
http://bitbucket.org/pypy/pypy/changeset/08175c33f891/
Log: (antocuni, arigo): this is probably how the test was meant to be
diff --git a/pypy/translator/backendopt/test/test_finalizer.py
b/pypy/translator/backendopt/test/test_finalizer.py
--- a/pypy/translator/backendopt/test/test_finalizer.py
+++ b/pypy/translator/backendopt/test/test_finalizer.py
@@ -84,8 +84,8 @@
def __del__(self):
if self.x:
+ lltype.free(self.x, flavor='raw')
self.x = lltype.nullptr(S)
- lltype.free(self.x, flavor='raw')
def f():
return A()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit