mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris
This commit is contained in:
parent
a67b97f438
commit
da25109fbc
1 changed files with 2 additions and 4 deletions
|
|
@ -9,10 +9,8 @@ import sys
|
||||||
import unittest
|
import unittest
|
||||||
from test.support import TESTFN, run_unittest, cpython_only
|
from test.support import TESTFN, run_unittest, cpython_only
|
||||||
|
|
||||||
try:
|
if not hasattr(select, 'devpoll') :
|
||||||
select.devpoll
|
raise unittest.SkipTest('test works only on Solaris OS family')
|
||||||
except AttributeError:
|
|
||||||
raise unittest.SkipTest("select.devpoll not defined")
|
|
||||||
|
|
||||||
|
|
||||||
def find_ready_matching(ready, flag):
|
def find_ready_matching(ready, flag):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue