No real reason but it might bite someone sooner or later
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Tue, 3 Feb 2009 14:57:25 +0000 (15:57 +0100)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Tue, 3 Feb 2009 14:57:25 +0000 (15:57 +0100)
runtests.py

index 043433dd8a6e1fc1f1f8e2bacc22e79d1fbf46ff..ac3264c2ed02475954353508acaca4bb802a282f 100644 (file)
@@ -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