summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_context.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-02-29 19:43:42 +0100
committerGitHub <noreply@github.com>2020-02-29 19:43:42 +0100
commit815280eb160af637e1347213659f9236adf78f80 (patch)
treeecb6e85f7e8cec204316d3bfb82289a3724a173d /Lib/test/test_asyncio/test_context.py
parent0aeab5c4381f0cc11479362af2533b3a391312ac (diff)
downloadcpython-git-815280eb160af637e1347213659f9236adf78f80.tar.gz
bpo-39794: Add --without-decimal-contextvar (#18702)
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):