From: Dag Sverre Seljebotn Date: Tue, 3 Feb 2009 09:05:31 +0000 (+0100) Subject: Cleanup X-Git-Tag: 0.11.rc~93^2~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=868fa3db2cd1c1747bd22330ed35f3fd05a2791f;p=cython.git Cleanup --- 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]))