Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Lib/test/test_asyncio/test_sslproto.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Tests for asyncio/sslproto.py."""

import os
import logging
import unittest
from unittest import mock
Expand Down Expand Up @@ -296,15 +297,16 @@ 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()


@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()
Expand Down