From ddcb5fa2a62bb9f7be865bea2cb3003be8f7b6f7 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 20 Feb 2009 23:43:21 +0100 Subject: [PATCH] disable refnanny on Py3 --- runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index 8e8925e1..a3f7f043 100644 --- a/runtests.py +++ b/runtests.py @@ -483,7 +483,7 @@ if __name__ == '__main__': action="store_true", default=False, help="only compile pyx to c, do not run C compiler or run the tests") parser.add_option("--no-refnanny", dest="with_refnanny", - action="store_false", default=True, + action="store_false", default=(sys.version_info[0] < 3), help="do not regression test reference counting") parser.add_option("--sys-pyregr", dest="system_pyregr", action="store_true", default=False, -- 2.26.2