MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_select_mutated

Method test_select_mutated

Lib/test/test_select.py:87–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 3

FClass · 0.70
assertEqualMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected