human
I wrote the below code

    ip = get_ipython()
    class A(object, ):
        pass
    ip.user_ns['a'] = A()
    @complete_object.when_type(A)
    def complete_A(a, existing_completions):
        raise TypeError('this    should    be    silenced')
    ip.complete('a.')

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

def test_custom_completion_error():