summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-02-29 21:16:32 (GMT)
committerGitHub <noreply@github.com>2020-02-29 21:16:32 (GMT)
commit4d7012410cf4f91cbca4c406f4747289c2802333 (patch)
treedad351df0eed3e5ab293c1470c3a8ef8eda5147a /Lib/test
parente4686b79798f7a492dcbaa62cf51f4d07fd5ae78 (diff)
downloadcpython-4d7012410cf4f91cbca4c406f4747289c2802333.zip
cpython-4d7012410cf4f91cbca4c406f4747289c2802333.tar.gz
cpython-4d7012410cf4f91cbca4c406f4747289c2802333.tar.bz2
[3.8] bpo-39794: Add --without-decimal-contextvar (GH-18702)
(cherry picked from commit 815280eb160af637e1347213659f9236adf78f80)
Diffstat (limited to 'Lib/test')
-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 c309faa..63b1eb3 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):