MCPcopy Index your code
hub / github.com/python/cpython / fileno

Method fileno

Lib/test/test_poll.py:117–118  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115
116 class Almost:
117 def fileno(self):
118 return 'fileno'
119
120 self.assertRaises(TypeError, pollster.register, Nope(), 0)
121 self.assertRaises(TypeError, pollster.register, Almost(), 0)

Callers 1

test_poll_unit_testsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected