[pypy-commit] pypy py3.5: skip two tests about subinterpreters

arigo pypy.commits at gmail.com
Mon Feb 13 04:14:51 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r90074:2f6f33fa5864
Date: 2017-02-13 10:14 +0100
http://bitbucket.org/pypy/pypy/changeset/2f6f33fa5864/

Log:	skip two tests about subinterpreters

diff --git a/lib-python/3/test/test_atexit.py b/lib-python/3/test/test_atexit.py
--- a/lib-python/3/test/test_atexit.py
+++ b/lib-python/3/test/test_atexit.py
@@ -145,6 +145,7 @@
 
 class SubinterpreterTest(unittest.TestCase):
 
+    @support.cpython_only
     def test_callbacks_leak(self):
         # This test shows a leak in refleak mode if atexit doesn't
         # take care to free callbacks in its per-subinterpreter module
@@ -161,6 +162,7 @@
         self.assertEqual(ret, 0)
         self.assertEqual(atexit._ncallbacks(), n)
 
+    @support.cpython_only
     def test_callbacks_leak_refcycle(self):
         # Similar to the above, but with a refcycle through the atexit
         # module.


More information about the pypy-commit mailing list