Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris

This commit is contained in:
Jesus Cea 2014-04-29 18:18:37 +02:00
parent a67b97f438
commit da25109fbc

View file

@ -9,10 +9,8 @@ import sys
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):