enable temp allocation debug comments in test runner
authorStefan Behnel <scoder@users.berlios.de>
Wed, 25 Mar 2009 15:24:48 +0000 (16:24 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 25 Mar 2009 15:24:48 +0000 (16:24 +0100)
runtests.py

index d6919440cadbd0d04fcadba61067a0c44e21df50..d1ee89713b9f21f0c660eda108c7a7db9e3c78f2 100644 (file)
@@ -561,6 +561,8 @@ 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 DebugFlags
+        DebugFlags.debug_temp_code_comments = 1
     else:
         sys.stderr.write("Running tests without Cython.\n")
     sys.stderr.write("Python %s\n" % sys.version)