[pypy-svn] r80015 - pypy/branch/fast-forward/lib-python/modified-2.7.0/test

afa at codespeak.net afa at codespeak.net
Mon Dec 13 00:44:10 CET 2010


Author: afa
Date: Mon Dec 13 00:44:08 2010
New Revision: 80015

Modified:
   pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py
Log:
Don't try to "fix" this test with gc.collect():
the goal is to test how CPython deals with reference cycles in thread objects.


Modified: pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py
==============================================================================
--- pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py	(original)
+++ pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py	Mon Dec 13 00:44:08 2010
@@ -386,6 +386,7 @@
         finally:
             sys.setcheckinterval(old_interval)
 
+    @test.test_support.cpython_only
     def test_no_refcycle_through_target(self):
         class RunSelfFunction(object):
             def __init__(self, should_raise):



More information about the Pypy-commit mailing list