diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-09 00:59:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-09 00:59:07 (GMT) |
commit | 383bff4d740c2ee154c230f62fc28f5baa09fa10 (patch) | |
tree | 80052a8b6913721ca49b3a020cd989ec87ad0b06 /Lib/test/test_selectors.py | |
parent | 1adc2371b8117dd86fa4a9dbe1425e6c11fffbc4 (diff) | |
download | cpython-383bff4d740c2ee154c230f62fc28f5baa09fa10.zip cpython-383bff4d740c2ee154c230f62fc28f5baa09fa10.tar.gz cpython-383bff4d740c2ee154c230f62fc28f5baa09fa10.tar.bz2 |
Backed out changeset c4c1c4bc8086
Diffstat (limited to 'Lib/test/test_selectors.py')
-rw-r--r-- | 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 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) |