human
I wrote the below code

    class TestModel(Model, ):
        inputs = ()
        outputs = (u'y',)
        @property
        def inverse(self):
            return models.Shift()
        @staticmethod
        def evaluate():
            return 0
    m = TestModel()
    assert isinstance(m.inverse, models.Shift)
    m.inverse = models.Scale()
    assert isinstance(m.inverse, models.Scale)
    del m.inverse
    assert isinstance(m.inverse, models.Shift)

What's a good function header?
assistant
#Here's a good function header.

def test_custom_inverse_reset():