mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix test_selectors failure introduced by 39e7995f9ad1.
This commit is contained in:
parent
f491f92529
commit
ead8d0858b
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ class BaseSelectorTestCase(unittest.TestCase):
|
||||||
s.unregister(r)
|
s.unregister(r)
|
||||||
s.unregister(w)
|
s.unregister(w)
|
||||||
|
|
||||||
|
@unittest.skipUnless(os.name == 'posix', "requires posix")
|
||||||
def test_unregister_after_fd_close_and_reuse(self):
|
def test_unregister_after_fd_close_and_reuse(self):
|
||||||
s = self.SELECTOR()
|
s = self.SELECTOR()
|
||||||
self.addCleanup(s.close)
|
self.addCleanup(s.close)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue