[pypy-commit] pypy py3.5: Mark test cpython_only

rlamy pypy.commits at gmail.com
Wed Dec 7 09:01:00 EST 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r88942:34a6b5b95c9a
Date: 2016-12-07 13:58 +0000
http://bitbucket.org/pypy/pypy/changeset/34a6b5b95c9a/

Log:	Mark test cpython_only

diff --git a/lib-python/3/test/test_builtin.py b/lib-python/3/test/test_builtin.py
--- a/lib-python/3/test/test_builtin.py
+++ b/lib-python/3/test/test_builtin.py
@@ -16,7 +16,8 @@
 import warnings
 from operator import neg
 from test.support import (
-    TESTFN, unlink,  run_unittest, check_warnings, check_impl_detail)
+    TESTFN, unlink,  run_unittest, check_warnings, check_impl_detail,
+    cpython_only)
 from test.support.script_helper import assert_python_ok
 try:
     import pty, signal
@@ -1640,6 +1641,8 @@
 
 class ShutdownTest(unittest.TestCase):
 
+    # PyPy doesn't do a gc.collect() at shutdown
+    @cpython_only
     def test_cleanup(self):
         # Issue #19255: builtins are still available at shutdown
         code = """if 1:


More information about the pypy-commit mailing list