Commit e1f1152a authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent e9f3800b
...@@ -676,6 +676,10 @@ if __name__ == '__main__': ...@@ -676,6 +676,10 @@ if __name__ == '__main__':
compile as cython_compile compile as cython_compile
from Cython.Compiler import Errors from Cython.Compiler import Errors
Errors.LEVEL = 0 # show all warnings 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! # RUN ALL TESTS!
UNITTEST_MODULE = "Cython" UNITTEST_MODULE = "Cython"
...@@ -691,10 +695,6 @@ if __name__ == '__main__': ...@@ -691,10 +695,6 @@ if __name__ == '__main__':
if WITH_CYTHON: if WITH_CYTHON:
from Cython.Compiler.Version import version from Cython.Compiler.Version import version
sys.stderr.write("Running tests against Cython %s\n" % 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: else:
sys.stderr.write("Running tests without Cython.\n") sys.stderr.write("Running tests without Cython.\n")
sys.stderr.write("Python %s\n" % sys.version) sys.stderr.write("Python %s\n" % sys.version)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment