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 1adc237 commit 383bff4Copy full SHA for 383bff4
1 file changed
Lib/test/test_selectors.py
@@ -109,7 +109,7 @@ def test_unregister_after_fd_close(self):
109
s.unregister(r)
110
s.unregister(w)
111
112
- @unittest.skipUnless(hasattr(os, 'dup2'), "need os.dup2()")
+ @unittest.skipUnless(os.name == 'posix', "requires posix")
113
def test_unregister_after_fd_close_and_reuse(self):
114
s = self.SELECTOR()
115
self.addCleanup(s.close)
0 commit comments