![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
http://hg.python.org/cpython/rev/825c67196aac changeset: 90519:825c67196aac parent: 90516:2b2577d79e80 parent: 90518:cc2345e6e9ff user: Jesus Cea <jcea@jcea.es> date: Tue Apr 29 18:18:58 2014 +0200 summary: MERGE: Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris files: Lib/test/test_devpoll.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Lib/test/test_devpoll.py b/Lib/test/test_devpoll.py --- a/Lib/test/test_devpoll.py +++ b/Lib/test/test_devpoll.py @@ -9,10 +9,8 @@ import unittest from test.support import TESTFN, run_unittest, cpython_only -try: - select.devpoll -except AttributeError: - raise unittest.SkipTest("select.devpoll not defined") +if not hasattr(select, 'devpoll') : + raise unittest.SkipTest('test works only on Solaris OS family') def find_ready_matching(ready, flag): -- Repository URL: http://hg.python.org/cpython