Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ F
Class
F
Lib/test/test_select.py:89–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
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
Callers
1
test_select_mutated
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_select_mutated
Method · 0.56