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

Yury Selivanov webhook-mailer at python.org
Sat Dec 30 15:40:23 EST 2017


https://github.com/python/cpython/commit/0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a
commit: 0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a
branch: master
author: Yury Selivanov <yury at magic.io>
committer: GitHub <noreply at github.com>
date: 2017-12-30T15:40:20-05:00
summary:

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

files:
M Lib/test/test_asyncio/test_sslproto.py

diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py
index 886c5cf3626..475f494b670 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 @@ def test_start_tls_wrong_args(self):
 
 
 @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):
+ at unittest.skipIf(os.environ.get('APPVEYOR'), 'XXX: issue 32458')
+class ProactorStartTLSTests(BaseStartTLS, unittest.TestCase):
 
     def new_loop(self):
         return asyncio.ProactorEventLoop()



More information about the Python-checkins mailing list