(self)
| 85 | ) |
| 86 | @unittest.skip("TODO: RUSTPYTHON timed out") |
| 87 | def test_select_mutated(self): |
| 88 | a = [] |
| 89 | class F: |
| 90 | def fileno(self): |
| 91 | del a[-1] |
| 92 | return sys.__stdout__.fileno() |
| 93 | a[:] = [F()] * 10 |
| 94 | self.assertEqual(select.select([], a, []), ([], a[:5], [])) |
| 95 | |
| 96 | @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: TypeError not raised by poll |
| 97 | def test_disallow_instantiation(self): |
nothing calls this directly
no test coverage detected