From bd84ca53122b8cdfc14b9bf3ec8ff1116f13b33b Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Fri, 30 Jan 2009 23:10:52 +0100 Subject: [PATCH] Make refnanny default in runtests.py (--no-refnanny introduced) --- runtests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtests.py b/runtests.py index 0dc20d5f..6ce181f6 100644 --- a/runtests.py +++ b/runtests.py @@ -482,9 +482,9 @@ if __name__ == '__main__': parser.add_option("--cython-only", dest="cython_only", action="store_true", default=False, help="only compile pyx to c, do not run C compiler or run the tests") - parser.add_option("--refnanny", dest="with_refnanny", - action="store_true", default=False, - help="also test that Cython-generated code does correct reference counting") + parser.add_option("--no-refnanny", dest="with_refnanny", + action="store_false", default=True, + help="do not regression test reference counting") parser.add_option("--sys-pyregr", dest="system_pyregr", action="store_true", default=False, help="run the regression tests of the CPython installation") -- 2.26.2