From 868fa3db2cd1c1747bd22330ed35f3fd05a2791f Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Tue, 3 Feb 2009 10:05:31 +0100 Subject: [PATCH] Cleanup --- runtests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtests.py b/runtests.py index 6ce181f6..043433dd 100644 --- a/runtests.py +++ b/runtests.py @@ -558,10 +558,7 @@ if __name__ == '__main__': libpath = pyx_to_dll(os.path.join("Cython", "Runtime", "refnanny.pyx"), build_in_temp=True, pyxbuild_dir=os.path.join(WORKDIR, "support")) - ctypes.PyDLL(libpath, mode=ctypes.RTLD_GLOBAL) sys.path.append(os.path.split(libpath)[0]) - import refnanny - del sys.path[-1] CFLAGS.append("-DCYTHON_REFNANNY") test_bugs = False @@ -637,4 +634,5 @@ if __name__ == '__main__': sys.stderr.write(" %s\n" % test) if options.with_refnanny: + import refnanny sys.stderr.write("\n".join([repr(x) for x in refnanny.reflog])) -- 2.26.2