code: def test_anon_nonseq(self):
      # TypeError: _anonymous_ must be a sequence
      self.assertRaises(
          TypeError,
          lambda: type(Structure)(
              "Name", (Structure,), {"_fields_": [], "_anonymous_": 42}
          ),
      )
  
file_path: cpython/Lib/test/test_ctypes/test_anon.py
imports: import unittest
  import test.support
  from ctypes import c_int, Union, Structure, sizeof
label_desc: Use image node_id 2 for calling the AnonTest obj's underlying member method code with example usage: obj.test_anon_nonseq() without return types