diff options
Diffstat (limited to 'Lib/test/test_context.py')
-rw-r--r-- | Lib/test/test_context.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_context.py b/Lib/test/test_context.py index 2d8b63a..3132cea 100644 --- a/Lib/test/test_context.py +++ b/Lib/test/test_context.py @@ -6,6 +6,7 @@ import random import time import unittest import weakref +from test.support import threading_helper try: from _testcapi import hamt @@ -341,6 +342,7 @@ class ContextTest(unittest.TestCase): ctx1.run(ctx1_fun) @isolated_context + @threading_helper.requires_working_threading() def test_context_threads_1(self): cvar = contextvars.ContextVar('cvar') |