Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 383bff4

Browse files
committed
Backed out changeset c4c1c4bc8086
1 parent 1adc237 commit 383bff4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_selectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_unregister_after_fd_close(self):
109109
s.unregister(r)
110110
s.unregister(w)
111111

112-
@unittest.skipUnless(hasattr(os, 'dup2'), "need os.dup2()")
112+
@unittest.skipUnless(os.name == 'posix', "requires posix")
113113
def test_unregister_after_fd_close_and_reuse(self):
114114
s = self.SELECTOR()
115115
self.addCleanup(s.close)

0 commit comments

Comments
 (0)