human
Here's a good function header given the following:
I wrote the below code

    def instance(kwargs):
        if isinstance(kwargs, dict):
            return klass(**kwargs)
        return klass(**kwargs())
    class Tests(make_comparison_tests(klass, kwargs1, kwargs2), ):
        def test_interface(self):
            '\n                                                The    class    implements    ``IStateChange``.\n                                                '
            self.assertTrue(verifyObject(IStateChange, instance(kwargs1)))
    Tests.__name__ = (klass.__name__ + 'IStateChangeTests')
    return Tests

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

def make_istatechange_tests(klass, kwargs1, kwargs2):