From 5cfc79deaeabf4af3c767665098a37da9f375eda Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 7 Feb 2014 10:06:39 +0200 Subject: Issue #20532: Tests which use _testcapi now are marked as CPython only. --- Lib/test/test_threading.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_threading.py') diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index fee48a3910..11c8979517 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -3,7 +3,7 @@ Tests for the threading module. """ import test.support -from test.support import verbose, strip_python_stderr, import_module +from test.support import verbose, strip_python_stderr, import_module, cpython_only from test.script_helper import assert_python_ok import random @@ -773,6 +773,7 @@ class ThreadJoinOnShutdown(BaseTestCase): for t in threads: t.join() + @cpython_only @unittest.skipIf(_testcapi is None, "need _testcapi module") def test_frame_tstate_tracing(self): # Issue #14432: Crash when a generator is created in a C thread that is -- cgit v1.2.1