(self)
| 83 | support.is_emscripten, "Emscripten cannot select a fd multiple times." |
| 84 | ) |
| 85 | def test_select_mutated(self): |
| 86 | a = [] |
| 87 | class F: |
| 88 | def fileno(self): |
| 89 | del a[-1] |
| 90 | return sys.__stdout__.fileno() |
| 91 | a[:] = [F()] * 10 |
| 92 | self.assertEqual(select.select([], a, []), ([], a[:5], [])) |
| 93 | |
| 94 | def test_disallow_instantiation(self): |
| 95 | support.check_disallow_instantiation(self, type(select.poll())) |
nothing calls this directly
no test coverage detected