Skip to content

Commit 23d6eb6

Browse files
authored
bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) (#973)
* 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. (cherry picked from commit de04644)
1 parent d64146c commit 23d6eb6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Lib/test/test_asyncore.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,9 @@ def test_handle_expt(self):
606606
# Note: this might fail on some platforms as OOB data is
607607
# tenuously supported and rarely used.
608608

609+
if sys.platform == "darwin" and self.use_poll:
610+
self.skipTest("poll may fail on macOS; see issue #28087")
611+
609612
class TestClient(BaseClient):
610613
def handle_expt(self):
611614
self.flag = True

Misc/NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ Build
137137
Tests
138138
-----
139139

140+
- bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS.
141+
Skip some tests of select.poll when running on macOS due to unresolved
142+
issues with the underlying system poll function on some macOS versions.
143+
140144
- bpo-15083: Convert ElementTree doctests to unittests.
141145

142146

0 commit comments

Comments
 (0)