summaryrefslogtreecommitdiff
path: root/Lib/test/test_selectors.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-09 01:59:07 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-12-09 01:59:07 +0100
commit383bff4d740c2ee154c230f62fc28f5baa09fa10 (patch)
tree80052a8b6913721ca49b3a020cd989ec87ad0b06 /Lib/test/test_selectors.py
parent1adc2371b8117dd86fa4a9dbe1425e6c11fffbc4 (diff)
downloadcpython-git-383bff4d740c2ee154c230f62fc28f5baa09fa10.tar.gz
Backed out changeset c4c1c4bc8086
Diffstat (limited to 'Lib/test/test_selectors.py')
-rw-r--r--Lib/test/test_selectors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py
index 68e2b991ec..34edd7630d 100644
--- a/Lib/test/test_selectors.py
+++ b/Lib/test/test_selectors.py
@@ -109,7 +109,7 @@ class BaseSelectorTestCase(unittest.TestCase):
s.unregister(r)
s.unregister(w)
- @unittest.skipUnless(hasattr(os, 'dup2'), "need os.dup2()")
+ @unittest.skipUnless(os.name == 'posix', "requires posix")
def test_unregister_after_fd_close_and_reuse(self):
s = self.SELECTOR()
self.addCleanup(s.close)