summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-09 00:59:07 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-12-09 00:59:07 (GMT)
commit383bff4d740c2ee154c230f62fc28f5baa09fa10 (patch)
tree80052a8b6913721ca49b3a020cd989ec87ad0b06 /Lib
parent1adc2371b8117dd86fa4a9dbe1425e6c11fffbc4 (diff)
downloadcpython-383bff4d740c2ee154c230f62fc28f5baa09fa10.zip
cpython-383bff4d740c2ee154c230f62fc28f5baa09fa10.tar.gz
cpython-383bff4d740c2ee154c230f62fc28f5baa09fa10.tar.bz2
Backed out changeset c4c1c4bc8086
Diffstat (limited to 'Lib')
-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 68e2b99..34edd76 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)