def test_mixed_1(self):

    class X(Structure):
        _fields_ = [('a', c_byte, 4), ('b', c_int, 4)]
    if (os.name in ('nt', 'ce')):
        assert (sizeof(X) == (sizeof(c_int) * 2))
    else:
        assert (sizeof(X) == sizeof(c_int))
def test_mixed_1(self):

    class X(Structure):
        _fields_ = [('a', c_byte, 4), ('b', c_int, 4)]
    if (os.name in ('nt', 'ce')):
        assert (sizeof(X) == (sizeof(c_int) * 2))
    else:
        assert (sizeof(X) == sizeof(c_int))