human
I wrote the below code

    class A:
        def __getattr__(self, name):
            raise AttributeError, 'get    outta    here'
        def __repr__(self):
            return 'foo'
    class B:
        def __getattr__(self, name):
            raise AttributeError, 'get    outta    here'
        def __str__(self):
            return 'foo'
    AreEqual(str(A()), 'foo')
    AreEqual(repr(A()), 'foo')
    AreEqual(str(B()), 'foo')
    Assert((repr(B()).find('B    instance') != (-1)))

What's a good function header?

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

def test_raise_attrerror():