diff options
author | Ned Deily <nad@python.org> | 2017-03-04 11:19:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 11:19:05 (GMT) |
commit | 1d391f926b37484b8d4b326003a72c0084db19ec (patch) | |
tree | 6238a22e389ef3823e85be206cb7a7b2db99f290 /Lib/test/eintrdata/eintr_tester.py | |
parent | 343d48379c31f31cb0bcc843c537990c4283703d (diff) | |
download | cpython-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/eintrdata/eintr_tester.py')
-rw-r--r-- | Lib/test/eintrdata/eintr_tester.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py index d194e77..c619b3d 100644 --- a/Lib/test/eintrdata/eintr_tester.py +++ b/Lib/test/eintrdata/eintr_tester.py @@ -437,6 +437,8 @@ class SelectEINTRTest(EINTRBaseTest): self.stop_alarm() self.assertGreaterEqual(dt, self.sleep_time) + @unittest.skipIf(sys.platform == "darwin", + "poll may fail on macOS; see issue #28087") @unittest.skipUnless(hasattr(select, 'poll'), 'need select.poll') def test_poll(self): poller = select.poll() |