human
I wrote the below code

    class class_n(object, ):
        val1 = 'Value'
        def __init__(self):
            self.val2 = self.val1
    inst_n = class_n()
    Assert((inst_n.val2 == 'Value'))
    Assert((not ('val2' in dir(class_n))))
    Assert(('val1' in dir(class_n)))
    Assert(('val2' in dir(inst_n)))
    Assert(('val1' in dir(inst_n)))
    Assert(('val2' in inst_n.__dict__))
    Assert((inst_n.__dict__['val2'] == 'Value'))
    Assert((count_elem(dir(inst_n), 'val1') == 1))
    inst_n.val1 = 20
    Assert((count_elem(dir(inst_n), 'val1') == 1))
    class class_o:
        val1 = 'Value'
        def __init__(self):
            self.val2 = self.val1
    inst_o = class_o()
    Assert(('val1' in dir(class_o)))
    Assert((not ('val2' in dir(class_o))))
    Assert(('val1' in dir(inst_o)))
    Assert(('val2' in dir(inst_o)))
    Assert(('val2' in inst_o.__dict__))
    Assert((inst_o.__dict__['val2'] == 'Value'))
    Assert((count_elem(dir(inst_o), 'val1') == 1))
    inst_n.val1 = 20
    Assert((count_elem(dir(inst_o), 'val1') == 1))
    Assert(isinstance(class_o, object))
    Assert(isinstance(inst_o, object))
    Assert(isinstance(None, object))

What's a good function header?

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

def test_newstyle_oldstyle_dict():