code: def test___classcell___overwrite(self):
      # See issue #23722
      # Overwriting __classcell__ with nonsense is explicitly prohibited
      class Meta(type):
          def __new__(cls, name, bases, namespace, cell):
              namespace["__classcell__"] = cell
              return super().__new__(cls, name, bases, namespace)
  
      for bad_cell in (None, 0, "", object()):
          with self.subTest(bad_cell=bad_cell):
              with self.assertRaises(TypeError):
  
                  class A(metaclass=Meta, cell=bad_cell):
                      pass
  
imports: import unittest
  from unittest.mock import patch
  from test import shadowed_super
label_desc: Use image node_id 18 for calling the TestSuper obj's underlying member method code with example usage: obj.test___classcell___overwrite() and returns: super