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

Class Almost

Lib/test/test_poll.py:116–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 pass
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.70

Calls

no outgoing calls

Tested by 1

test_poll_unit_testsMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…