summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_context.py')
-rw-r--r--Lib/test/test_asyncio/test_context.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_context.py b/Lib/test/test_asyncio/test_context.py
index c309faa900..63b1eb320c 100644
--- a/Lib/test/test_asyncio/test_context.py
+++ b/Lib/test/test_asyncio/test_context.py
@@ -7,6 +7,7 @@ def tearDownModule():
asyncio.set_event_loop_policy(None)
+@unittest.skipUnless(decimal.HAVE_CONTEXTVAR, "decimal is built with a thread-local context")
class DecimalContextTest(unittest.TestCase):
def test_asyncio_task_decimal_context(self):