human
I wrote the below code

    def f():
        class x(System.Single, ):
            pass
    def g():
        class x(System.Version, ):
            pass
    AssertErrorWithPartialMessage(TypeError, 'System.Single', f)
    AssertErrorWithPartialMessage(TypeError, 'System.Version', g)

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

def test_bad_inheritance():