mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
MERGE: Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris
This commit is contained in:
commit
ae43046b61
1 changed files with 2 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue