class_docstr: Test semantics.
class_docstr_tok: ["Test","semantics","."]
code: def test_yield_from_empty(self):
      def g():
          yield from ()
  
      self.assertRaises(StopIteration, next, g())
  
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 28 for calling the TestPEP380Operation obj's underlying member method code with example usage: obj.test_yield_from_empty() without return types