Lines Matching defs:send
143 Test delegation of send()
166 y = g.send(x)
187 Test handling exception while delegating 'send'
212 y = g.send(x)
445 Test conversion of send(None) to next()
452 y = gi.send(None)
516 Test attempting to send to non-generator
530 y = gi.send(42)
533 self.assertIn("send", e.args[0])
535 self.fail("was able to send into non-generator")
559 gi.send(1)
714 Test send and return with value
722 gi.send("spam")
899 # Check with send
904 res.append(g1.send(42))
1025 outer_gen.send(None)
1026 outer_gen.send(inner_gen)
1027 outer_gen.send(outer_gen)
1040 def send(self, what):
1049 g.send((1, 2, 3, 4))