summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-03-04 11:19:05 (GMT)
committerGitHub <noreply@github.com>2017-03-04 11:19:05 (GMT)
commit1d391f926b37484b8d4b326003a72c0084db19ec (patch)
tree6238a22e389ef3823e85be206cb7a7b2db99f290 /Lib/test/test_asyncore.py
parent343d48379c31f31cb0bcc843c537990c4283703d (diff)
downloadcpython-1d391f926b37484b8d4b326003a72c0084db19ec.zip
cpython-1d391f926b37484b8d4b326003a72c0084db19ec.tar.gz
cpython-1d391f926b37484b8d4b326003a72c0084db19ec.tar.bz2
[3.6] bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS (#463)
Skip some tests of select.poll when running on macOS due to unresolved issues with the underlying system poll function on some macOS versions. (cherry picked from commit de04644627f82d9dc48b3423def7ff5b4aa1926a)
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r--Lib/test/test_asyncore.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index 51c6573..d05462b 100644
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -661,6 +661,9 @@ class BaseTestAPI:
if HAS_UNIX_SOCKETS and self.family == socket.AF_UNIX:
self.skipTest("Not applicable to AF_UNIX sockets.")
+ if sys.platform == "darwin" and self.use_poll:
+ self.skipTest("poll may fail on macOS; see issue #28087")
+
class TestClient(BaseClient):
def handle_expt(self):
self.socket.recv(1024, socket.MSG_OOB)