class_docstr: Test semantics.
class_docstr_tok: ["Test","semantics","."]
docstr: Test conversion of send(None) to next()
docstr_tok: ["Test","conversion","of","send","(","None",")","to","next","(",")"]
code: def test_conversion_of_sendNone_to_next(self):
      """
      Test conversion of send(None) to next()
      """
      trace = []
  
      def g():
          yield from range(3)
  
      gi = g()
      for x in range(3):
          y = gi.send(None)
          trace.append("Yielded: %s" % (y,))
      self.assertEqual(
          trace,
          [
              "Yielded: 0",
              "Yielded: 1",
              "Yielded: 2",
          ],
      )
  
imports: import unittest
  import inspect
  from test.support import captured_stderr, disable_gc, gc_collect
  from test import support
label_desc: Use image node_id 14 for calling the TestPEP380Operation obj's underlying member method code with example usage: obj.test_conversion_of_sendNone_to_next() without return types