[pypy-svn] r56151 - pypy/branch/async-del/pypy/objspace/std/test
arigo at codespeak.net
arigo at codespeak.net
Sat Jun 28 15:02:47 CEST 2008
Author: arigo
Date: Sat Jun 28 15:02:46 2008
New Revision: 56151
Modified:
pypy/branch/async-del/pypy/objspace/std/test/test_listobject.py
Log:
The __del__ may be never called if we're unlucky with Boehm.
Modified: pypy/branch/async-del/pypy/objspace/std/test/test_listobject.py
==============================================================================
--- pypy/branch/async-del/pypy/objspace/std/test/test_listobject.py (original)
+++ pypy/branch/async-del/pypy/objspace/std/test/test_listobject.py Sat Jun 28 15:02:46 2008
@@ -740,6 +740,10 @@
def test_mutate_while_extend(self):
# this used to segfault pypy-c (with py.test -A)
+ import sys
+ if hasattr(sys, 'pypy_translation_info'):
+ if sys.pypy_translation_info['translation.gc'] == 'boehm':
+ skip("not reliable on top of Boehm")
class A(object):
def __del__(self):
print 'del'
More information about the Pypy-commit
mailing list