[Python-checkins] cpython: Backed out changeset c4c1c4bc8086

victor.stinner python-checkins at python.org
Mon Dec 9 01:59:20 CET 2013


http://hg.python.org/cpython/rev/07a6d4c30c4e
changeset:   87848:07a6d4c30c4e
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Dec 09 01:59:07 2013 +0100
summary:
  Backed out changeset c4c1c4bc8086

files:
  Lib/test/test_selectors.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py
--- a/Lib/test/test_selectors.py
+++ b/Lib/test/test_selectors.py
@@ -109,7 +109,7 @@
         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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list