

def test_define_not_supported_for_now():
    ffi = FFI(backend=FakeBackend())
    e = py.test.raises(CDefError, ffi.cdef, '#define FOO "blah"')
    assert (str(e.value) == 'only supports one of the following syntax:\n  #define FOO ...     (literally dot-dot-dot)\n  #define FOO NUMBER  (with NUMBER an integer constant, decimal/hex/octal)\ngot:\n  #define FOO "blah"')

dataset/ETHPy150Open johncsnyder/SwiftKitten/cffi/testing/cffi0/test_parsing.py test_define_not_supported_for_now/original