From 1010f5786a3d3beb96d1d70bbaa677d13dfa4b66 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 9 Aug 2013 10:07:21 +0200 Subject: [PATCH] extend test --- tests/run/exttype_freelist.pyx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/run/exttype_freelist.pyx b/tests/run/exttype_freelist.pyx index 97b6efc..b3ec7b4 100644 --- a/tests/run/exttype_freelist.pyx +++ b/tests/run/exttype_freelist.pyx @@ -15,6 +15,18 @@ cdef class ExtTypeNoGC: """ +cdef class ExtSubTypeNoGC(ExtTypeNoGC): + """ + >>> obj = ExtSubTypeNoGC() + >>> obj = ExtSubTypeNoGC() + >>> obj = ExtSubTypeNoGC() + >>> obj = ExtSubTypeNoGC() + >>> obj = ExtSubTypeNoGC() + >>> obj = ExtSubTypeNoGC() + """ + cdef bytes x + + @cython.freelist(4) cdef class ExtTypeWithGC: """ -- 2.7.4