def test_sizeof():
    ffi = FFI()
    assert ffi.sizeof("int[51]") == 51 * 4  # unicode literal
Exemple #2
0
def test_sizeof():
    ffi = FFI()
    assert ffi.sizeof("int[51]") == 51 * 4  # unicode literal
    def test_sizeof(self):
        from _cffi_backend import FFI

        ffi = FFI()
        assert ffi.sizeof("int[51]") == 51 * 4  # unicode literal
 def test_sizeof(self):
     from _cffi_backend import FFI
     ffi = FFI()
     assert ffi.sizeof("int[51]") == 51 * 4  # unicode literal