[pypy-commit] pypy py3.5: Skip tests that are really about subinterpreters
arigo
pypy.commits at gmail.com
Sun Jan 8 15:24:53 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89431:ce8c2c3d808f
Date: 2017-01-08 21:24 +0100
http://bitbucket.org/pypy/pypy/changeset/ce8c2c3d808f/
Log: Skip tests that are really about subinterpreters
diff --git a/lib-python/3/test/test_threading.py b/lib-python/3/test/test_threading.py
--- a/lib-python/3/test/test_threading.py
+++ b/lib-python/3/test/test_threading.py
@@ -836,6 +836,7 @@
class SubinterpThreadingTests(BaseTestCase):
+ @cpython_only
def test_threads_join(self):
# Non-daemon threads should be joined at subinterpreter shutdown
# (issue #18808)
@@ -859,6 +860,7 @@
# The thread was joined properly.
self.assertEqual(os.read(r, 1), b"x")
+ @cpython_only
def test_threads_join_2(self):
# Same as above, but a delay gets introduced after the thread's
# Python code returned but before the thread state is deleted.
More information about the pypy-commit
mailing list