[pypy-commit] pypy py3.5: Skip a test that cannot pass on PyPy
arigo
pypy.commits at gmail.com
Thu Jan 12 09:41:09 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89511:b84e248dea00
Date: 2017-01-12 15:26 +0100
http://bitbucket.org/pypy/pypy/changeset/b84e248dea00/
Log: Skip a test that cannot pass on PyPy
diff --git a/lib-python/3/test/test_module.py b/lib-python/3/test/test_module.py
--- a/lib-python/3/test/test_module.py
+++ b/lib-python/3/test/test_module.py
@@ -2,7 +2,7 @@
import unittest
import weakref
from test.support import gc_collect
-from test.support import check_impl_detail
+from test.support import check_impl_detail, impl_detail
from test.support.script_helper import assert_python_ok
import sys
@@ -217,6 +217,7 @@
self.assertEqual(r[-len(ends_with):], ends_with,
'{!r} does not end with {!r}'.format(r, ends_with))
+ @impl_detail(pypy=False) # __del__ is typically not called at shutdown
def test_module_finalization_at_shutdown(self):
# Module globals and builtins should still be available during shutdown
rc, out, err = assert_python_ok("-c", "from test import final_a")
More information about the pypy-commit
mailing list