diff options
author | Yury Selivanov <yury@magic.io> | 2017-12-30 20:40:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-30 20:40:20 (GMT) |
commit | 0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a (patch) | |
tree | d3d98a42b7cb4643a32e49eda1c47b515152da2e /Lib | |
parent | deae6b451fefd5fd3143dd65051e1d341e5a5f84 (diff) | |
download | cpython-0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a.zip cpython-0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a.tar.gz cpython-0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a.tar.bz2 |
bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_asyncio/test_sslproto.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py index 886c5cf..475f494 100644 --- a/Lib/test/test_asyncio/test_sslproto.py +++ b/Lib/test/test_asyncio/test_sslproto.py @@ -1,5 +1,6 @@ """Tests for asyncio/sslproto.py.""" +import os import logging import unittest from unittest import mock @@ -296,7 +297,7 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin): @unittest.skipIf(ssl is None, 'No ssl module') -class SelectorStartTLS(BaseStartTLS, unittest.TestCase): +class SelectorStartTLSTests(BaseStartTLS, unittest.TestCase): def new_loop(self): return asyncio.SelectorEventLoop() @@ -304,7 +305,8 @@ class SelectorStartTLS(BaseStartTLS, unittest.TestCase): @unittest.skipIf(ssl is None, 'No ssl module') @unittest.skipUnless(hasattr(asyncio, 'ProactorEventLoop'), 'Windows only') -class ProactorStartTLS(BaseStartTLS, unittest.TestCase): +@unittest.skipIf(os.environ.get('APPVEYOR'), 'XXX: issue 32458') +class ProactorStartTLSTests(BaseStartTLS, unittest.TestCase): def new_loop(self): return asyncio.ProactorEventLoop() |