diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-04-03 16:11:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 16:11:22 (GMT) |
commit | 23d6eb656ec29140fcca1c9261b7953e2312b171 (patch) | |
tree | 94a3c3ebd6d6b4b04476c5dab6840a9c73ce56ae | |
parent | d64146c4b776e569e5cf78d6ef561be1248612bd (diff) | |
download | cpython-23d6eb656ec29140fcca1c9261b7953e2312b171.zip cpython-23d6eb656ec29140fcca1c9261b7953e2312b171.tar.gz cpython-23d6eb656ec29140fcca1c9261b7953e2312b171.tar.bz2 |
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 de04644627f82d9dc48b3423def7ff5b4aa1926a)
-rw-r--r-- | Lib/test/test_asyncore.py | 3 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 20eceb6..dc2b626 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -606,6 +606,9 @@ class BaseTestAPI(unittest.TestCase): # Note: this might fail on some platforms as OOB data is # tenuously supported and rarely used. + 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.flag = True @@ -137,6 +137,10 @@ Build Tests ----- +- 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. + - bpo-15083: Convert ElementTree doctests to unittests. |