mirror of
https://github.com/python/cpython
synced 2024-09-16 00:27:20 +00:00
bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054)
This commit is contained in:
parent
deae6b451f
commit
0c36bed1c4
|
@ -1,5 +1,6 @@
|
|||
"""Tests for asyncio/sslproto.py."""
|
||||
|
||||
import os
|
||||
import logging
|
||||
import unittest
|
||||
from unittest import mock
|
||||
|
@ -296,7 +297,7 @@ async def main():
|
|||
|
||||
|
||||
@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 @@ def new_loop(self):
|
|||
|
||||
@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()
|
||||
|
|
Loading…
Reference in a new issue