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 031bd53 commit 1adc237Copy full SHA for 1adc237
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(os.name == 'posix', "requires posix")
+ @unittest.skipUnless(hasattr(os, 'dup2'), "need os.dup2()")
113
def test_unregister_after_fd_close_and_reuse(self):
114
s = self.SELECTOR()
115
self.addCleanup(s.close)
0 commit comments