From a1fe3353685e51c22e5854154577dcaecf178add Mon Sep 17 00:00:00 2001
From: Dag Sverre Seljebotn <dagss@student.matnat.uio.no>
Date: Tue, 3 Feb 2009 15:57:25 +0100
Subject: [PATCH] No real reason but it might bite someone sooner or later

---
 runtests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtests.py b/runtests.py
index 043433dd..ac3264c2 100644
--- a/runtests.py
+++ b/runtests.py
@@ -558,7 +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"))
-        sys.path.append(os.path.split(libpath)[0])
+        sys.path.insert(0, os.path.split(libpath)[0])
         CFLAGS.append("-DCYTHON_REFNANNY")
 
     test_bugs = False
-- 
2.26.2