diff options
author | Ned Deily <nad@python.org> | 2017-03-04 11:00:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 11:00:37 (GMT) |
commit | de04644627f82d9dc48b3423def7ff5b4aa1926a (patch) | |
tree | 5e41f97b874c4b775508c5316c9bfe94e2f476b2 /Lib/test/eintrdata | |
parent | cfcd76777e35c83d548d8736f5d7dc92fe56d806 (diff) | |
download | cpython-de04644627f82d9dc48b3423def7ff5b4aa1926a.zip cpython-de04644627f82d9dc48b3423def7ff5b4aa1926a.tar.gz cpython-de04644627f82d9dc48b3423def7ff5b4aa1926a.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/eintrdata')
-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() |