From 815280eb160af637e1347213659f9236adf78f80 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Sat, 29 Feb 2020 19:43:42 +0100 Subject: bpo-39794: Add --without-decimal-contextvar (#18702) --- Lib/test/test_asyncio/test_context.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/test/test_asyncio/test_context.py') 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): -- cgit v1.2.1