Commit 0c36bed1 authored by Yury Selivanov's avatar Yury Selivanov Committed by GitHub

bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054)

parent deae6b45
"""Tests for asyncio/sslproto.py.""" """Tests for asyncio/sslproto.py."""
import os
import logging import logging
import unittest import unittest
from unittest import mock from unittest import mock
...@@ -296,7 +297,7 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin): ...@@ -296,7 +297,7 @@ class BaseStartTLS(func_tests.FunctionalTestCaseMixin):
@unittest.skipIf(ssl is None, 'No ssl module') @unittest.skipIf(ssl is None, 'No ssl module')
class SelectorStartTLS(BaseStartTLS, unittest.TestCase): class SelectorStartTLSTests(BaseStartTLS, unittest.TestCase):
def new_loop(self): def new_loop(self):
return asyncio.SelectorEventLoop() return asyncio.SelectorEventLoop()
...@@ -304,7 +305,8 @@ class SelectorStartTLS(BaseStartTLS, unittest.TestCase): ...@@ -304,7 +305,8 @@ class SelectorStartTLS(BaseStartTLS, unittest.TestCase):
@unittest.skipIf(ssl is None, 'No ssl module') @unittest.skipIf(ssl is None, 'No ssl module')
@unittest.skipUnless(hasattr(asyncio, 'ProactorEventLoop'), 'Windows only') @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): def new_loop(self):
return asyncio.ProactorEventLoop() return asyncio.ProactorEventLoop()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment