From e1f1152af7ed9e62e63d5e0a431ba01410922814 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 9 Oct 2009 17:04:58 +0200 Subject: [PATCH] cleanup --- runtests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtests.py b/runtests.py index 4323dcc3..477ba96d 100644 --- a/runtests.py +++ b/runtests.py @@ -676,6 +676,10 @@ if __name__ == '__main__': compile as cython_compile from Cython.Compiler import Errors Errors.LEVEL = 0 # show all warnings + from Cython.Compiler import Options + #Options.generate_cleanup_code = 3 # complete cleanup code + from Cython.Compiler import DebugFlags + DebugFlags.debug_temp_code_comments = 1 # RUN ALL TESTS! UNITTEST_MODULE = "Cython" @@ -691,10 +695,6 @@ if __name__ == '__main__': if WITH_CYTHON: from Cython.Compiler.Version import version sys.stderr.write("Running tests against Cython %s\n" % version) - from Cython.Compiler import Options - #Options.generate_cleanup_code = 3 # complete cleanup code - from Cython.Compiler import DebugFlags - DebugFlags.debug_temp_code_comments = 1 else: sys.stderr.write("Running tests without Cython.\n") sys.stderr.write("Python %s\n" % sys.version) -- 2.26.2