def test_classcell_in_namespace():
    """Tests a historical issue where super() triggers python to add
    `__classcell__` to the namespace passed to the metaclass __new__.
    """

    # Test that the class is created without wrongly raising a TypeError
    class _(metaclass=ABCMetaImplementAnyOneOf):
        def other_method(self):
            # Triggers __classcell__ to be added to the class namespace
            super()  # pragma: no cover
Tests a historical issue where super() triggers python to add
    `__classcell__` to the namespace passed to the metaclass __new__.
    
cirq-core/cirq/value/abc_alt_test.py