def test_set_fields_attr(self):

    class A(Structure):
        pass
    A._fields_ = [('a', c_byte), ('b', c_ubyte)]
def test_set_fields_attr(self):

    class A(Structure):
        pass
    A._fields_ = [('a', c_byte), ('b', c_ubyte)]