From: Charles-François Natali Date: Sun, 8 Dec 2013 09:06:04 +0000 (+0100) Subject: Fix test_selectors failure introduced by 39e7995f9ad1. X-Git-Tag: v3.4.0b2~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ead8d0858b326ec8d902dc597aa3da23e4c5a82b;p=thirdparty%2FPython%2Fcpython.git Fix test_selectors failure introduced by 39e7995f9ad1. --- diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py index c8c16d5ca445..34edd7630ddd 100644 --- a/Lib/test/test_selectors.py +++ b/Lib/test/test_selectors.py @@ -109,6 +109,7 @@ class BaseSelectorTestCase(unittest.TestCase): s.unregister(r) s.unregister(w) + @unittest.skipUnless(os.name == 'posix', "requires posix") def test_unregister_after_fd_close_and_reuse(self): s = self.SELECTOR() self.addCleanup(s.close)