]> granicus.if.org Git - python/commitdiff
bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054)
authorYury Selivanov <yury@magic.io>
Sat, 30 Dec 2017 20:40:20 +0000 (15:40 -0500)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2017 20:40:20 +0000 (15:40 -0500)
Lib/test/test_asyncio/test_sslproto.py

index 886c5cf36260940098c56ce501cb7d3fd14d0b56..475f494b670562df46b8574986db6d91635afd56 100644 (file)
@@ -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()