From b127d487d27e99fa0f3fee8f6cad33ccfb169add Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn <dagss@student.matnat.uio.no> Date: Mon, 5 Oct 2009 15:09:01 +0200 Subject: [PATCH] Fix wrong ctypedef testcase via autotestdict --- tests/run/ctypedef_int_types_T333.pyx | 34 ++------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/tests/run/ctypedef_int_types_T333.pyx b/tests/run/ctypedef_int_types_T333.pyx index 5d9371b7f..5d2f1c06a 100644 --- a/tests/run/ctypedef_int_types_T333.pyx +++ b/tests/run/ctypedef_int_types_T333.pyx @@ -1,4 +1,4 @@ -__doc__ = u"" +#cython: autotestdict=True # ------------------------------------------------------------------- @@ -567,7 +567,7 @@ cimport ctypedef_int_types_defs_T333 as defs def test_DefSInt(defs.SInt x): u""" - >>> test_DeftSInt(-1) + >>> test_DefSInt(-1) -1 >>> test_DefSInt(0) 0 @@ -642,33 +642,3 @@ def test_LocUInt(LocUInt x): return x # ------------------------------------------------------------------- - -__doc__ = u"".join([ - f.__doc__ for f in ( - # - test_schar, test_add_schar, - test_uchar, test_add_uchar, - # - test_sshort, test_add_sshort, - test_ushort, test_add_ushort, - # - test_sint, test_add_sint, - test_uint, test_add_uint, - # - test_slong, test_add_slong, - test_ulong, test_add_ulong, - # - test_slonglong, test_add_slonglong, - test_ulonglong, test_add_ulonglong, - # - MyClass, - # - test_MySInt1, test_MyUInt1, - test_MySInt2, test_MyUInt2, - # - test_ExtSInt, test_ExtUInt, - test_LocSInt, test_LocUInt, - ) - ]) - -# ------------------------------------------------------------------- -- 2.30.9