bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462)

* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS

Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.
This commit is contained in:
Ned Deily 2017-03-04 06:00:37 -05:00 committed by GitHub
parent cfcd76777e
commit de04644627
3 changed files with 9 additions and 0 deletions

View file

@ -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)