def METHOD_NAME():
    # Test that __new__ is required when __init__ is overridden
    with pytest.raises(TypeError):
        class PyObj(neuron.HocBaseObject, hoc_type=neuron.h.List):
            def __init__(self, first):
                super().__init__()
                self.append(first)
    class PyObj(neuron.HocBaseObject, hoc_type=neuron.h.List):
        def __new__(cls, first):
            return super().__new__(cls)
        def __init__(self, first):
            super().__init__()
            self.append(first)
    p = PyObj(neuron.h.List())
    assert p.count() == 1