def test_typeof():
    ffi = FFI()
    tp = ffi.typeof("int[51]")  # unicode literal
    assert tp.length == 51
Exemple #2
0
def test_typeof():
    ffi = FFI()
    tp = ffi.typeof("int[51]")  # unicode literal
    assert tp.length == 51
    def test_typeof(self):
        from _cffi_backend import FFI

        ffi = FFI()
        tp = ffi.typeof("int[51]")  # unicode literal
        assert tp.length == 51
 def test_typeof(self):
     from _cffi_backend import FFI
     ffi = FFI()
     tp = ffi.typeof("int[51]")  # unicode literal
     assert tp.length == 51