Exemplo n.º 1
0
def test_new():
    ffi = FFI()
    assert ffi.new("int[]", [3, 4, 5])[2] == 5  # unicode literal
Exemplo n.º 2
0
def test_new():
    ffi = FFI()
    assert ffi.new("int[]", [3, 4, 5])[2] == 5  # unicode literal
Exemplo n.º 3
0
    def test_new(self):
        from _cffi_backend import FFI

        ffi = FFI()
        assert ffi.new("int[]", [3, 4, 5])[2] == 5  # unicode literal
Exemplo n.º 4
0
 def test_new(self):
     from _cffi_backend import FFI
     ffi = FFI()
     assert ffi.new("int[]", [3, 4, 5])[2] == 5  # unicode literal