From: Victor Stinner Date: Mon, 9 Dec 2013 00:59:07 +0000 (+0100) Subject: Backed out changeset c4c1c4bc8086 X-Git-Tag: v3.4.0b2~285 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=383bff4d740c2ee154c230f62fc28f5baa09fa10;p=thirdparty%2FPython%2Fcpython.git Backed out changeset c4c1c4bc8086 --- diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py index 68e2b991ec74..34edd7630ddd 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)