diff tests/test_parse_files/test_functiondef_decorators.py @ 65:ce5e27a3f277

Add ClassDef.decorator_list support.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 13 Jun 2016 01:27:10 +0100
parents 53817b39f139
children
line wrap: on
line diff
--- a/tests/test_parse_files/test_functiondef_decorators.py
+++ b/tests/test_parse_files/test_functiondef_decorators.py
@@ -4,4 +4,7 @@ import cython
 @cython.cfunc
 def id(a):
     return a
+@cython.cclass
+class Coucou(object):
+    pass
 print(id(5))