Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0dff5 commit 4efa39cCopy full SHA for 4efa39c
1 file changed
Lib/test/test_os.py
@@ -15,6 +15,7 @@
15
import mmap
16
import os
17
import pickle
18
+import select
19
import shutil
20
import signal
21
import socket
@@ -60,10 +61,6 @@
60
61
except ImportError:
62
INT_MAX = PY_SSIZE_T_MAX = sys.maxsize
63
-try:
64
- import select
65
-except ImportError:
66
- select = None
67
68
from test.support.script_helper import assert_python_ok
69
from test.support import unix_shell
@@ -3594,9 +3591,6 @@ def test_eventfd_semaphore(self):
3594
3591
with self.assertRaises(BlockingIOError):
3595
3592
os.eventfd_read(fd)
3596
3593
3597
- @unittest.skipUnless(
3598
- hasattr(select, "select"), reason="test needs select.select"
3599
- )
3600
def test_eventfd_select(self):
3601
flags = os.EFD_CLOEXEC | os.EFD_NONBLOCK
3602
fd = os.eventfd(0, flags)
0 commit comments