1 2 3 4 5 6 7 8 9 10 11
# mode: error import cython class Pyclass(object): @cython.cfunc def bad(self): pass _ERRORS = """ 6:4: cfunc directive is not allowed here """