Author: Amaury Forgeot d'Arc <amaur...@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.
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to