summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-02-07 08:06:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-02-07 08:06:05 (GMT)
commit76249ea4a7ab1cb0fa41d967b2fb8975916cb955 (patch)
tree695ff618fa6667404441dfbb788561f9a0c415a8 /Lib/test/test_threading.py
parent6a036793b66683e238c7222eb38368e44127c0e7 (diff)
downloadcpython-76249ea4a7ab1cb0fa41d967b2fb8975916cb955.zip
cpython-76249ea4a7ab1cb0fa41d967b2fb8975916cb955.tar.gz
cpython-76249ea4a7ab1cb0fa41d967b2fb8975916cb955.tar.bz2
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 41be68e..1653d36 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -1,7 +1,7 @@
# Very rudimentary test of threading module
import test.test_support
-from test.test_support import verbose
+from test.test_support import verbose, cpython_only
from test.script_helper import assert_python_ok
import random
@@ -724,6 +724,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