[pypy-commit] pypy py3.5: Skip tests that rely on __del__ to be called at interpreter shutdown.

amauryfa pypy.commits at gmail.com
Sat Mar 11 13:33:44 EST 2017


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3.5
Changeset: r90634:c56a1f35a86a
Date: 2017-03-11 19:30 +0100
http://bitbucket.org/pypy/pypy/changeset/c56a1f35a86a/

Log:	Skip tests that rely on __del__ to be called at interpreter
	shutdown.

diff --git a/lib-python/3/test/test_io.py b/lib-python/3/test/test_io.py
--- a/lib-python/3/test/test_io.py
+++ b/lib-python/3/test/test_io.py
@@ -3121,6 +3121,7 @@
         t = _make_illegal_wrapper()
         self.assertRaises(TypeError, t.read)
 
+    @support.impl_detail("PyPy does not call __del__ at shutdown", pypy=False)
     def _check_create_at_shutdown(self, **kwargs):
         # Issue #20037: creating a TextIOWrapper at shutdown
         # shouldn't crash the interpreter.


More information about the pypy-commit mailing list