code: def test_mro_entry_errors(self):
      class C_too_many:
          def __mro_entries__(self, bases, something, other):
              return ()
  
      c = C_too_many()
      with self.assertRaises(TypeError):
  
          class D(c):
              ...
  
      class C_too_few:
          def __mro_entries__(self):
              return ()
  
      d = C_too_few()
      with self.assertRaises(TypeError):
  
          class E(d):
              ...
  
imports: import unittest
  from test import support
label_desc: Use image node_id 6 for calling the TestMROEntry obj's underlying member method code with example usage: obj.test_mro_entry_errors() and returns: , 